≡ Menu

Linux Commands

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 [...]

{ 2 comments }

3 SELinux sestatus Command Output Explained with Examples

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 sestatus command will display whether SELinux is enabled or [...]

{ 0 comments }

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 [...]

{ 1 comment }

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 [...]

{ 1 comment }

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 [...]

{ 0 comments }

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 [...]

{ 1 comment }

20 Zypper Command Examples to Manage Packages on SUSE Linux

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 [...]

{ 8 comments }

12 CUPS lpadmin Command Examples to Setup Printers on Linux

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 [...]

{ 8 comments }