11 df Command Examples in Linux

The df command is a powerful tool that provides insights into disk usage on Linux and Unix-based systems. Whether you are an experienced sysadmin or a Linux enthusiast, understanding how to utilize the df command effectively is essential for managing disk space efficiently. In this … Read more


10 passwd Command Examples in Linux

In this blog post, we will explain passwd command examples in Linux. As the name suggests passwd command in linux is used to change and set password to system users. If the passwd command is executed by non-root user then it will prompt for the … 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

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

In this post, we will explore 15 apt command examples in Ubuntu or 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. Apt (Advanced package … Read more


14 Useful ls Command Examples in Linux

In this tutorial, we will cover ls command in Linux with 14 useful practical examples. ls command in Linux/UNIX list the directory contents. When we issue ls command without any option, it displays the information about files and directories of present working directory in alphabetical … 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