LINUX COMMANDS

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

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

nmcli add static

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 [...]

Adrian Dinu 8:49 am

Interface (NICs) Bonding in Linux using nmcli

display-active-port-team0

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 [...]

Arun Pyasi 11:00 am

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

crony commands

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 [...]

Adrian Dinu 10:00 am

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

cv no command

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 [...]

Allan Mbugua 11:00 am

Linux blkid Command to Find Block Devices Details

blkid

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 [...]

Adrian Dinu 11:00 am

14 Linux ps Command Practical Examples

show in hierarchy

As an Operating System which inspired from Unix, Linux has a built-in tool to capture current processes on the system. From 'ps' manual page, it gives a snapshot of the current processes. It will “capture” the system condition at a single [...]

Pungki Arianto 8:00 pm

timedatectl - Control Linux System Time and Date in Systemd

timedatectl

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 [...]

Adrian Dinu 11:00 am

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

rsync exclude

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 [...]

Adrian Dinu 11:00 am

pidstat - Monitor and Find Statistics for Linux Procesess

pidstat pf mem

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 [...]

Adrian Dinu 12:00 pm

Linux ss Tool to Identify Sockets / Network Connections with Examples

ss tnap6

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 [...]

Adrian Dinu 12:04 pm

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 [...]

Bobbin Zachariah 10:38 am

Awesome! Systemd Commands to Manage Linux System

hostnamectl

Systemd is new 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 the article we are using centos 7.0 installed with systemd 216 [...]

Raghu 9:29 am

8 Options to Trace/Debug Programs using Linux strace Command

Relative Timestamp

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 [...]

Raghu 12:03 pm

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