Linux Commands

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 Chown Recursively Change File/Directory Ownership in Linux

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

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

Find Linux Sed Command and Its Various Options

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

How to Limit Process at User Level on Linux

Ulimit  - as the name signifies, its the user resource limits defined by users for their respective processes, it provides control over the resources available to the shell and to processes started by it, on systems that allow such control. [...]

Bobbin Zachariah 12:33 pm

Learn Linux Nmap Command With Examples

NMAP, well, we here are talking of network mapping, this tool is a celebrity tool that also appeared in one of my favorite trilogy, yes, the Matrix series, in the movie , its used to scan the whole Matrix ecosystem [...]

Bobbin Zachariah 8:00 am

4 Commands to Shutdown Linux from Terminal

How can you shut down your system successfully using a command? According to the manual page of shutdown command, shutting down a system means bringing the system down in a secure way. This article discusses the commands you can use [...]

Bobbin Zachariah 11:22 pm

Example How To Use Linux nohup Command

The signal in Linux or other UNIX like operating systems is a notification or message sent to a process to notify it that some event has occurred. Most of the commands executed by a user are run by his/her shell. [...]

Bobbin Zachariah 11:01 pm

How to Use SCP Command for A File/Directory Transfer in Linux

scp examples linux

SCP is a secure copy program in Linux copies files/directories between hosts on the network. It uses SSH to transfer the data. Same as SSH, Scp uses the port 22 by default. It provides the same security and uses the [...]

Bobbin Zachariah 10:52 pm

How to Restart Linux System Using Reboot Command Line

linux reboot serverLinux reboot Command

In Linux system administration, it is sometimes required to restart our server after the completion of some network and other major updates either relevant to software or hardware that are being carried on the server. The reboot is needed so [...]

Bobbin Zachariah 12:57 pm

Linux Commad To List Directories / Directory Names Only

List DirectoriesList Directories Linux

The "ls" command in Linux dumps the files and directories in an argumented directory or the current directory by default. The options to this command change the behavior of this command, such as listing hidden files as well with -a [...]

Raghu 7:35 pm

Example - How To Use Tee Command In Linux

In Unix and Linux world, a large number of small and single purpose programs are available. These programs can be chained together to perform complex tasks. Command chaining and redirection are the features that are used for these complex tasks. [...]

Bobbin Zachariah 7:54 pm

7 Dmidecode Commands to Display Hardware Details in BIOS

Dmidecode command reads the system DMI (Desktop Management Interface) table to display hardware and BIOS information of the server. The output of the dmidecode contains several records from the DMI table. This table contains a description of the systems hardware [...]

Bobbin Zachariah 10:29 pm

How to Preserve Symbolic Links in Tar Command

tar command preserve link

How to preserve symbolic links especially when you tar the files is explained below. We all know how to use tar command. Below option shows the way to preserve links when you archive. Example: # tar -cvhf archive.tar /backupfolder Note: What [...]

Bobbin Zachariah 10:23 pm