Linux Commands

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

How to use Chown Command in Linux with Examples

The chown command in Linux is used to change the ownership and group ownership of a files and directories. In Linux, all files, directories and processes (which are again files) are owned by users. The group is a set of [...]

Raghu 9:16 am

Linux Sort Command Examples and Sorted Outputs

Sorting in Linux can be performed with a simple utility command sort.   It takes input from STDIN by default but can sort files when file names are provided as an argument and it can also sort numerically as well. In [...]

Raghu 8:11 am

How to Use sed Command in Linux

Linux Sed command is a stream editor that can perform basic text transformation on input stream. It can be used for editing in shell scripts for non-interactive editing. Other command line editors like vi, nano or emcs are big text [...]

Bobbin Zachariah 8:57 am