brctl stands for Bridge Control. In Linux, this command is used to create and manipulate ethernet bridge. This is typically used when you have multiple ethernet networks on your servers, and you want to combine them and present it as one logical network. For example, if you have eth0 and eth1, you can combine them [...]
Linux Commands
sestatus stands for SELinux status. This command is used to view the current status of the SELinux that is running on your system. This tutorial explains the following: sestatus Command Output Explained with Details Display Selected Objects Security Context in sestatus Display Boolean Values in sestatus 1. sestatus Command Output Explained sestatus command will display [...]
On your Linux server, having proper SELinux security context for files and directories is very important. When you add your custom file to a directory that is already managed by SELinux policy, and if your custom file doesn’t have the proper SELinux context, then you will not get the expected result. restorecon stands for Restore [...]
If you are a sysadmin, managing your Linux server’s hard disk partition is a critical task. In this tutorial, we’ll focus on how to use sfdisk command-line utility to manage your hard disk partitions. While sfdisk is similar to fdisk, there are few partition manipulation activities that are very easy to perform in sfdisk. For [...]
The GNU Binary Utilities, usually called as binutils, is a collection of development tools that handle assembly files, object files, and libraries. The new generation of programming languages that came in the last few years are really masking the functionality of these utilities, as they happen in the background. So, many developers are not exposed [...]
Q: I have multiple yum repositories on my system. For example, centos, epel, docker, mongo, etc. When I execute yum update command, installed packages from all the repositories are updated. How can I exclude a specific repository during yum update? A: During yum update, to exclude packages that belongs to a specific repository, use any [...]
yum is for CentOS and Redhat. apt-get is for Debian and Ubuntu. In the same way, zypper is for SUSE Linux. Zypper is a command line tool for package management in OpenSUSE and SUSE Enterprise Linux platforms. On a high-level, you can manage two different things using zypper command: Manage Packages: Zypper is used to [...]
CUPS stands for Common UNIX Printing System. lpadmin is a command line tool used to configure printer and class queues provided by CUPS. A system running CUPS is a host that can accept print jobs from client computers, process them, and send them to the appropriate printer. It can also be used to set the [...]