10 passwd Command Examples in Linux

As the name suggests passwd command in linux is used to change the password of system users. If the passwd command is executed by non-root user then it will prompt for the current password and then allows to set new password of a user who … Read more


10 YaST2 Command Examples in SUSE Linux

YaST2 is a Configuration tool in SUSE Linux which is used to configure the system’s Hardware like printers, Sound cards, keyboards , network cards.It also help us to configure Network clients & services like NIS, NFS. Most common use of yast2 is to install, upgrade … Read more


16 Quick Cat Command Examples in Linux

cat stands for Concatenate. cat command is one of the basic command in Linux & Unix. It is used to create new files, concatenate files and and also used to view the contents of files on the standard output. In this article, we will learn … Read more


14 Grep Command Examples in Linux

Grep is command line utility in Linux and Unix systems which is used to print lines from a file after matching the strings or word.  grep stands for global regular expression print, it can be used to search strings from one or more files based … Read more

lsattr and chattr Command Examples in Linux

There are certain control attributes that may be set on a file or directory in order to allow data to be appended, to prevent it from being changed or deleted, etc. For example, you can enable attributes on a critical system file or directory so … Read more


15 apt Command Examples in Ubuntu / Debian Linux

Apt is a command line package management utility for Ubuntu and Debian Linux. Apt is used to install, remove, update and upgrade Debian packages from command line in Ubuntu and Debian systems. Apt (Advanced package tool) overcomes the issues and bugs that were noticed in … Read more


14 Useful ‘ls’ Command Examples in Linux

Linux ls (list) command displays a list of files and directories. As per my knowledge, ls command in linux, is the most frequently used command. It supports several options, some of them are listed in the below table along with a short description of each. … Read more


Monitor and Analyze Hard Drive Health with Smartctl in Linux

Smartctl (Self-Monitoring, Analysis and Reporting Technology) is a command line utility or a tool in UNIX and Linux like operating system that perform SMART tasks such as printing the SMART self-test and error logs, enabling and disabling SMART automatic testing, and initiating device self-tests. Smartctl … Read more


SUSE Linux – Zypper Command Examples

Zypper is command line interface in SuSE Linux which is used to  install, update, remove software, manage repositories, perform various queries, and lot more. In this article we will discuss different examples of zypper command . Syntax : # zypper [–global-opts] <command> [–command-opts] [command-arguments] The … Read more


12 Useful Wget Command Examples in Linux

Wget command in Linux is used to download files from the web using HTTP, HTTPS, and FTP protocols.  In other words we can say that wget is non-interactive command line downloader tool for Linux systems. It also supports downloading files through HTTP proxies. Here non-interactive … Read more

How to run Linux Commands within vi/vim editor

There are some scenarios where UNIX or Linux admin wants to run linux commands and insert the output of commands in vi editor without leaving it. This can be possible using below steps : First Go to command mode in vi editor by pressing ‘esc‘ … Read more


11 Xargs Command Examples in Linux

xargs is a command in UNIX like System that reads items from the standard input, delimited by blanks (which can be protected with double or single quotes or a backslash) or newlines, and executes the command (default is /bin/echo) one or more times with any … Read more