RSSCategory: LINUX COMMANDS

13 Practical df Command Examples to Check Disk Space in Linux

The df command displays the disk space usage for the Linux filesystems. It displays the amount of total and free disk space available on the mounted file systems. Using the command, we can also find used blocks and inodes in the file system. In this article, we will explain various options of df command with […]

March 24, 2017 | By
| Reply More

How to Use Linux Hexdump Command with Practical Examples

Hexdump is a very useful Linux command for developers and application debuggers. It has ability to dump file contents into many formats like hexadecimal, octal, ASCII and decimal. This command takes a file, or any standard input, as input parameter and converts it to the format of your choice. Let's assume you work with binary […]

March 13, 2017 | By in LINUX COMMANDS
| Reply More

All You Need to Know About Linux Kill Command From Scratch

The kill command is used on linux and other Unix-like operating systems ( Solaris,  AIX, HP-Unix, Mac). It doesn’t matter which operating system you are using to terminate processes without having to log out or reboot the computer. A process, also referred to as a task, is an executing (i.e., running) instance of a program. […]

September 20, 2016 | By in LINUX COMMANDS
| Reply More

How to Install perf Tool on CentOS and Ubuntu

Perf is a performance counter for Linux. With it you can know many secrets of the running linux system. For example why L2 cache misses are happening. Why your disk is showing activity, which code paths are making the stalls in the kernel, and many other things. In this article, we will show basics of […]

September 19, 2016 | By in LINUX COMMANDS
| 2 Replies More

Unix Z Commands – Zcat, Zless, Zgrep, Zegrep and Zdiff Examples

In this article let us review how to perform normal file operation on a compressed files using the powerful Linux Z commands.Some of these z commands uncompressed the file temporarily in the /tmp directory to perform the specified operation. Some of the z commands uncompressed it to perform the specified operation. But, under any case, […]

September 7, 2016 | By in LINUX COMMANDS
| Reply More

How to Track Progress % of Commands (cp,dd,tar) in CentOS 6 / Fedora

When you copy a large file in terminal with simple cp command without flags, you might sometimes wonder whether it is really copying or the process got blocked somehow and it will actually never finish. The output is non existent and you are tempted to pres Ctrl-C to end abort the process. Well instead of […]

September 5, 2016 | By in LINUX COMMANDS
| Reply More

Run Command Parallel on Multiple Hosts using PDSH Tool

PDSH is a very smart little tool that enables you to issue the same command on multiple hosts at once, and see the output. It is a high-performance and parallel remote shell utility. It can run multiple remote commands in parallel and uses a "sliding window" (or fanout) of threads to conserve resources on the initiating host […]

August 30, 2016 | By in LINUX COMMANDS
| Reply More

Powerful SSH Command Options with Examples on Linux

SSH is a popular, powerful, software-based approach to network security. It is used for logging into a remote machine and for executing commands on a remote machine. Whenever data is sent by a computer to the network, ssh will automatically encrypts it. It is designed and created to provide the best security when accessing another computer remotely. […]

July 26, 2016 | By in LINUX COMMANDS
| Reply More

watch - Repeat Linux / Unix Commands Regular Intervals

A server administrator needs to maintain the system and keep it updated and safe. A number of intrusion attempts may happen every day. There are some other activities that maintain their log. These logs are updated regularly. In order to check these updates, the commands are executed repeatedly. For example, for simply reading a file, […]

June 4, 2015 | By
| Reply More

A Peep into Process Management Commands in Linux

A program in execution is called a process. While a program is an executable file present in storage and is passive, a process is a dynamic entity comprising of allocated system resources, memory, security attributes and has a state associated with it. There can be multiple processes associated with the same program and operating simultaneously […]

March 25, 2015 | By
| Reply More

How to Manage Network using nmcli Tool in RedHat / CentOS 7.x

A new feature of Red Hat Enterprise Linux 7 and CentOS 7 is that the default networking service is provided by NetworkManager, a dynamic network control and configuration daemon that attempts to keep network devices and connections up and active when they are available while still supporting the traditional ifcfg type configuration files. NetworkManager can […]

January 14, 2015 | By
| Reply More

Interface (NICs) Bonding in Linux using nmcli

Today, we'll learn how to perform Interface (NICs) bonding in our CentOS 7.x using nmcli (Network Manager Command Line Interface). NICs (Interfaces) bonding is a method for linking NICs together logically to allow fail-over or higher throughput. One of the ways to increase the network availability of a server is by using multiple network interfaces. The Linux […]

January 5, 2015 | By
| 5 Replies More

How to Sync Time Properly with NTP Server in CentOS 7.x

Chrony is an open source and free application that helps you keep the system clock in sync with a NTP server, thus allowing you to keep the exact time. It consists of two programs chronyd and chronyc. chronyd is the daemon that runs in the background and adjusts the system clock which is running in […]

November 28, 2014 | By
| Reply More

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