RSSCategory: LINUX COMMANDS

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
| 1 Reply 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

Linux slabtop command - Display Kernel Slab Cache Information

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 the caches called the slabs. Different types of slab caches are maintained by the slab […]

July 11, 2014 | By
| Reply More

Linux chpasswd Command - Change Passwords in Bulk Mode

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 this article we provide a method to change the passwords in batch mode. 1. The […]

July 7, 2014 | By
| 2 Replies More

Advanced Directory Navigations Tips and Tricks in Linux

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 enhance your experience, and help you do things faster. In this article, we will discuss […]

June 23, 2014 | By
| 2 Replies More