RSSCategory: LINUX COMMANDS

A Great Tool To Show Linux Command Progress Like % , ETA

Coreutils Viewer (cv) is a simple program that can be used to show the progress of any of coreutils commands. It uses information from file descriptors to determine the progress of a command for example the cp command. The beauty of cv is that it can be used with other linux commands like watch and […]

November 24, 2014 | By
| Reply More

Linux blkid Command to Find Block Devices Details

Today we will show you how to use lsblk and blkid utilities to find out information about block devices and we are using a CentOS 7.0 installed machine. lsblk is a Linux utility that will display information about all the available block devices on your system. It reads and gathers from them from the sysfs […]

November 21, 2014 | By
| Reply More

Important 10 Linux ps command Practical Examples

As an Operating System which inspired from Unix, Linux has a built-in tool to capture current processes on the system. This tool is available in command line interface. What is PS Command From its manual page, PS gives a snapshots of the current process. It will “capture” the system condition at a single time. If […]

November 19, 2014 | By
| Reply More

timedatectl - Control Linux System Time and Date in Systemd

timedatectl is a Linux utility that may be used to query and change the system clock and it's settings. It is distributed as part of the systemd system and service manager and allows you to review and change the configuration of the system clock. In this article we will cover all aspects of using this […]

November 5, 2014 | By
| Reply More

rsync Command to Exclude a List of Files and Directories in Linux

rsync is a very useful and popular linux tool being used for backup and restoring files, but also for comparing and syncing them. We already shown you in the past how to use rsync command in linux with examples and today we will add a few more useful tricks you can use rsync at. Exclude a […]

October 27, 2014 | By
| Reply More

pidstat - Monitor and Find Statistics for Linux Procesess

The pidstat command is used for monitoring individual tasks currently being managed by the Linux kernel. It writes to standard output activities for every task managed by the Linux kernel. The pidstat command can also be used for monitoring the child processes of selected tasks. The interval parameter specifies the amount of time in seconds […]

October 6, 2014 | By
| Reply More

Linux ss Tool to Identify Sockets / Network Connections with Examples

ss is part of the iproute2 (utilities for controlling TCP/IP networking and traffic) package. iproute2 is intended to replace an entire suite of standard Unix networking tools (often called "net-tools") that were previously used for the tasks of configuring network interfaces, routing tables, and managing the ARP table. The ss utility is used to dump […]

October 1, 2014 | By
| 2 Replies More

Colourful ! systemd vs sysVinit Linux Cheatsheet

systemd is the new init system, starting with Fedora and now adopted in many distributions like RedHat, Suse and Centos. Historically, most of us have been using traditional SysV init scripts normally residing in /etc/rc.d/init.d/. These scripts invoke a daemon binary which will then fork a background process. Even though shell scripts are very flexible, […]

September 5, 2014 | By
| 27 Replies More

Awesome ! systemd Commands to Manage Linux System

Systemd is the new system and service manager for Linux. It is a replacement for init system and can manage system startup and services. It starts up and supervises the entire system. In article we are using centos 7.0 installed with systemd 216 version and the latest version is available for download from freedesktop.org. With new […]

August 29, 2014 | By
| Reply More

8 Options to Trace/Debug Programs using Linux strace Command

The strace is the tool that helps in debugging issues by tracing system calls executed by a program. It is handy when you want to see how the program interacts with the operating system, like what system calls are executed in what order. This simple yet very powerful tool is available for almost all the […]

August 18, 2014 | By
| Reply More

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 follow through this tutorial, and in less than 10 minutes you will have changed your […]

August 16, 2014 | By
| 9 Replies More

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 Linux Standard Base init scripts. Systemd is a system and service manager for Linux operating […]

August 15, 2014 | By
| 2 Replies More

A Pocket Guide for Linux ssh Command with Examples

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 in a few minutes and login to your remote computers seamlessly and securely. If you […]

August 13, 2014 | By
| Reply More

How to Merge Directory Trees in Linux using cp Command

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. The directory layout is like below: These directories a, b and c have some files in […]

July 23, 2014 | By
| Reply More