How to change the path of the auditd log file /var/log/audit/audit.log

How to change the path of the auditd log file /var/log/audit/audit.log An important task related to troubleshooting can arise from an understanding of activities commonly associated with the action of reading and writing files. Linux provides a simple utility for this. Known as auditd, this service (or daemon) starts during the boot process. Events are… Read More »

Category: VPS

Manage Files Effectively using head, tail and cat Commands in Linux

Manage Files Effectively using head, tail and cat Commands in Linux There are several commands and programs provided by Linux for viewing the contents of file. Working with files is one of the daunting task, most of the computer users be it newbie, regular user, advanced user, developer, admin, etc performs. Working with files effectively… Read More »

Category: VPS

The Power of Linux “History Command” in Bash Shell

The Power of Linux “History Command” in Bash Shell We use history command frequently in our daily routine jobs to check history of command or to get info about command executed by user. In this post, we will see how we can use history command effectively to extract the command which was executed by users… Read More »

Category: VPS

Complete Guide to “useradd” Command in Linux

The Complete Guide to “useradd” Command in Linux We all are aware about the most popular command called ‘useradd‘ or ‘adduser‘ in Linux. There are times when a Linux System Administrator asked to create user accounts on Linux with some specific properties, limitations or comments. In Linux, a ‘useradd‘ command is a low-level utility that… Read More »

Category: VPS

How do I Configure Static IP Address Internet Protocol (IPv4)

How do I Configure Static IP Address Internet Protocol (IPv4) To configure static IP Address, you need to update or edit network configuration file to assign an Static IP Address to a system. You must be superuser with su (switch user) command from terminal or command prompt. For RHEL/CentOS Open and edit network configuration file… Read More »

Category: VPS

15 Useful “ifconfig” Commands to Configure Network Interface in Linux

15 Useful “ifconfig” Commands to Configure Network Interface in Linux ifconfig in short “interface configuration” utility for system/network administration in Unix/Linux operating systems to configure, manage and query network interface parameters via command line interface or in a system configuration scripts. The “ifconfig” command is used for displaying current network configuration information, setting up an… Read More »

Category: VPS

How to Monitor your CentOS 7 Server using Cacti

Cacti is a free and open source network graphing solution. It uses RRDTool for data gathering and graphing. It provides many features such as remote and local data collectors, network discovery, device management automation, graph templating etc. In this tutorial, we will install Cacti on CentOS 7 server. Prerequisite Minimal CentOS 7 server Root privileges… Read More »

Category: VPS

How to Upgrade Kernel on CentOS 7

The Kernel is the brain for an operating system. It’s like the core element of every OS. Speaking of Linux, the Linux kernel – created by Linus Torvalds – is a monolithic, Unix-like kernel. Some popular OSs that use the Linux kernel are Ubuntu, CentOS, and Debian. In this tutorial, I will show you how… Read More »

Category: VPS

How to Save Command Output to a File in Linux

There are many things you can do with the output of a command in Linux. You can assign the output of a command to a variable, send it to another command/program for processing through a pipe or redirect it to a file for further analysis. In this short article, I will show you a simple… Read More »

Category: VPS

How to Clear BASH Command Line History in Linux

The bash history keeps a record of all commands executed by a user on the Linux command line. This allows you to easily run previously executed commands by using the “up arrow” or “down arrow” keys to scroll through the command history file. In this article, we will show you two simple ways to clear… Read More »

Category: VPS