Linux Commands

Linux host Command Explained for Beginners (8 Examples)

Display detail information

Host command is a simple utility for performing DNS lookups in Linux. With this command, we can translate names into IP Addresses and vice versa. Here in the article I will show you some examples of using host command in [...]

Pungki Arianto 3:00 am

Linux head Command Tutorial with Examples

View multiple files

In a previous article, we learned how to use the tail command and its different options. The head command is used to print the first few lines of a text file. By default, the head command prints the first 10 lines of [...]

Pungki Arianto 3:00 am

Linux more Command Explained with Examples

Scroll up using more

If you are used to working with Linux, you will find a lot of file text in Linux world. Configuration files and log files are usually kept in text format. But those files usually has long content. You can not [...]

Pungki Arianto 3:00 am

10 Linux Touch Command with Examples

Create multiple files

But do know it that the main function of touch command is not create an empty file? We may use touch command in Linux to create an empty file. Of course, we can use another command such as vi, nano [...]

Pungki Arianto 3:00 am

How to use mv command in Linux

Backup option

MV command is a command that similar to cp command, but it does not create a copy/duplicate of files/directories. When you want to move files from one place to another and you don’t want to duplicate it, we use mv command. [...]

Pungki Arianto 3:00 am

How to Use Linux rm Command with Examples

Force remove

When a file no longer needed, we may delete it to save storage space. On the Linux system, we can use rm command to do it. Linux rm is a command to delete a file/directory without confirmation by default. Because [...]

Pungki Arianto 3:00 am

Linux pwd command with Examples

pwd version

Where you are inside a deep directory, sometimes you may want to know where exactly you are. With this pwd command, you can do it. Linux pwd is a command to print the name of current/working directory. When we are [...]

Pungki Arianto 8:00 pm

Linux CD Command with 10 Examples

cd command linux

cd command is one of the most basic and common commands used among Linux users, but this is not limited only to Linux systems and this is also available in operating systems such as Unix, DOS, OS/2, AmigaOS, Windows, ReactOS. [...]

Raghu 11:09 am

Linux mpstat Command - Reports Processors Related Statistics

linux mpstat command

You may find a situation when your cpu utilization is high but you feel that you don't run anything. On Linux system, you can monitor this activity using mpstat. Mpstat is used to monitor cpu utilization on your system. It [...]

Bobbin Zachariah 11:41 pm

Linux w Command to See Who is Logged In And What Doing

w version

As system Administrator, you must manage the users who logged in into your Linux system. I am not sure why this command called “w”. Just a simple letter. But behind the simplicity of its name, w give us a valuable information. [...]

Pungki Arianto 3:00 am

How to Display and Set Hostname in Linux

hostname command linux

With more and more computer connected to the network, the computer needs to have an attribute to make it different from each other. Same as a human in the real world, the computer also has an attribute named hostname. From [...]

Pungki Arianto 9:49 am

20 Linux Cat Command with Examples

linux cat command

In Linux operating system most of the configuration files, logs and shell scripts are in text file format. That is why we have numbers of text editors in Linux. When you just need to see the content of those files, [...]

Pungki Arianto 10:44 am

How to RPM Query for Packages on Linux

We will explain the options that can be added to the rpm command (Redhat Package Manager) in order to query packages in Linux. The following elements of the article will be explained: How to query the whole RPM database? How [...]

Deep 4:08 am

How to Check Memory Usage of Process with Linux pmap Command

The Linux pmap command displays the memory usage map of a process or multiple processes. Pmap reports information about the address space or memory usage map of a process. Pmap is actually a Sun OS command and Linux supports only very [...]

Bobbin Zachariah 9:29 am