Using dig command in Linux

The dig (stands for Domain Information Groper) command in Linux is used to find and display the domain information. It performs DNS lookup and fetches queries from name servers. This command is generally used by network administrators to troubleshoot DNS problems. The dig is a more flexible and easy to use tool than other DNS … Read more

Using df command in Linux

Linux provides various tools to check disk space usage on file system. df command is one of them which stands for disk free. It displays the amount of disk space available on a filesystem. By using this you can get a full report which includes size, used,  available, use %, and mount location of the … Read more

Using du command in Linux

In a Unix-like system, du is a command which stands for “disk usage” is used to determine the space occupied by the files and directories on a disk. This command is very useful in analyzing which file or directory is using how much space on a disk. On the basis of this information, you can … Read more

How to display CPU information in Linux?

The Central Processing Unit or CPU is one of the most important parts of a computer system. It performs all the arithmetic and logical operations. Knowing about your CPU which includes information such as processor architecture, the number of cores, speed of each core, and its usages can be very helpful in administering the resources … Read more

Using systemctl command in Linux

The systemctl command in Linux is responsible for controlling a widely adopted “systemd” init system and service manager. The init is the first process that starts when you power on your Linux system. The systemd is a newer init system whose primary purpose is initializing, managing, and tracking system services and daemons. It replaces the … Read more

Using cal and ncal commands in Linux

A calendar is basically a chart in which days, weeks, months of a year are given in an organized way. By using the cal and ncal command in Linux you can see the calendar. The cal command displays the calendar in the traditional format while ncal offers an alternative layout and more options. In this … Read more

Using finger command in Linux

Finger command in Linux is used to display the details of a user. It includes information like login name, username, login time, idle time, home directory, etc. This command is very useful in monitoring the users of a system. In this article, we will discuss the usage of finger command on Linux with some examples. … Read more

Using sort command in Linux

The sort command in Linux is used to sort the lines of a text file. By using different options with this command you can print the output in various forms. For example, you can print the alphanumeric content in increasing order or reverse it by using the -r option with the sort command. If you … Read more