≡ Menu

Linux Commands

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


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


This tutorial explains the process of building useful multi­-part commands piece by piece. To build complex commands in the terminal, we need to understand piping. Piping is basically taking the output of one command and sending it to another command as input. This is done with the | (pipe) symbol. Last month, a small project [...]

{ 1 comment }

7 Patch Command Examples to Apply Diff Patch Files in Linux

When there is a security fix available for a particular software, we typically do a binary upgrade using the package management tools like yum or apt-get. But, there might be situation where you have installed a software by compiling it from the source code. In those situation, how do you apply the security fix to [...]