This category covers topics including various linux command line utilities and its uses.

How to Change Hostname in RHEL / CentOS 7.0

You have probably needed to change the hostname of your CentOS 7 install for one reason or the other. Changing the hostname in CentOS 7 is now much simpler than ever. If you are ready open up your terminal and [...]

Allan Mbugua 9:12 am

Linux Systemd - Start/Stop/Restart Services in RHEL / CentOS 7


One of the major changes in RHEL  / CentOS 7.0 is the swtich to systemd, a system and service manager, that replaces SysV and Upstart used in previous releases of Red Hat Enterprise Linux. systemd is compatible with SysV and [...]

Adrian Dinu 8:35 am

A Pocket Guide for Linux ssh Command with Examples

X11 forwarding

If you have been in the IT world for quite some time you probably have heard about SSH, how great a tool it is and all its cool security features. In this tutorial you will learn how to use SSH [...]

Bobbin Zachariah 9:16 pm

How to Merge Directory Trees in Linux using cp Command

Remove original directories

How to merge two directory trees with similar layout into a third directory?. Let us consider the following example to understand the problem. Suppose two directories dir1 and dir2 have 3 sub-directories a, b and c in each of them. [...]

Raghu 6:21 am

Linux slabtop command - Display Kernel Slab Cache Information

Sort by cache utilization 02

The Linux kernel needs to allocate memory for temporary objects such as task or device structures and inodes. The caching memory allocator manages caches of these types of objects. The modern Linux kernel implements this caching memory allocator to hold [...]

Raghu 9:09 am

Linux chpasswd Command - Change Passwords in Bulk Mode

Help with command chpasswd

Creating users and managing passwords is one of the primary responsibilities of a system administrator. A good policy requires modification of passwords on regular intervals. But changing the passwords for a number of users with passwd command becomes difficult. In [...]

Raghu 3:00 am

Advanced Directory Navigations Tips and Tricks in Linux

directory navigation

Directory navigation is one of the most basic concepts when it comes to understanding any command line system. Although it's not a very difficult thing to understand when it comes to Linux, there are certain tips and tricks that can [...]

Himanshu Arora 3:00 am

How to use Linux lsblk Command to List Block Device Information

lsblk SCSI devices

The command lsblk (list block devices) is used to list information about all available block devices, however, it does not list information about RAM disks. Examples of block devices are hard disk, flash drives, CD-ROM e.t.c How To Install lsblk [...]

Bobbin Zachariah 6:45 am

How to Use "Script" Command To Record Linux Terminal Session

Script with notification

This script command is very helpful for system admin. If any problem occurs to the system, it is very difficult to find what command was executed previously. Hence, system admin knows the importance of this script command. Sometimes you are on [...]

Pungki Arianto 3:00 am

How to use IP Command in Linux with Examples

Net tools vs Iproute2

The linux ip command is similar to ifconfig, but more powerful and is intended to be a replacement for it. With ip you have the advantage of performing several network administration tasks with only one command. ifconfig is one of the [...]

Bobbin Zachariah 3:00 am

Install htop 2.0.2 and Use Command Line on Linux

Htop is very interactive, gives you additional information about running processes, and allows for manipulations such as sorting the list of processes using various criteria and search for a process/kill processes. While top command takes few seconds delay to collect data [...]

Himanshu Arora 3:00 am

Linux findmnt Command to Find Mounted Filesystems

findmnt types

The command findmnt is used to find mounted filesystems in Linux. This command will look for a particular filesystem in /etc/fstab, /etc/mtab or /proc/self/mountinfo. How to Install findmnt The command findmnt comes in the package util-linux-ng, now renamed util-linux. The [...]

Bobbin Zachariah 3:00 am

Linux Commands Cheat Sheet in Black & White

Keep this Linux command cheat sheet on your desk printed, I am sure you will learn them quickly and will be a Linux expert very soon. We have added had both pdf and image (png) format of the cheat sheet. [...]

Bobbin Zachariah 3:00 am

6 Practical Usage of killall Command in Linux

pratical use killall linux command

Linux command line offers various commands to kill a process. For example, the 'kill' command can be used to kill a process by passing its PID as an argument, the 'pkill' command takes a pattern as an input and all [...]

Himanshu Arora 3:00 am