How To Use Linux Which Command

The which command in Linux is used to locate any command in Linux. A command is essentially an executable that you can run. The command searches for the executable specified as an argument in the directories listed in the PATH environment variable. In other words, if you are wondering where exactly is a certain program … Read more

How to Disable SELinux on CentOS 7

SELinux (Security Enhanced Linux) is a Linux kernel security module that allows administrators and users more control over access controls. It allows access based on SELinux policy rules. If there is no SELinux policy rule that specifically allows access, such as for a process opening a file, access is denied. SELinux has three modes: Enforcing: … Read more

How To Set or Change Timezone on CentOS 7

On CentOS, the system’s timezone is set during the install, but it can be easily changed at a later time. Using the correct timezone is important for many systems related tasks and processes. For example, the cron daemon uses the system’s timezone for executing cron jobs and the timestamps in the log files are based … Read more

How to use Linux time command

The time command is used to determine how long a given command takes to run. It is useful for testing the performance of your scripts and commands. Good thing is time command comes preinstalled in most Linux distributions, so you don’t have to bother with installation. In this article, we will discuss the basics of … Read more

How to Add and Delete Users on CentOS 7

You may need to create separate account for every user want to connect this system. For adding new users in system there are two commands available in your system, useradd and adduser. adduser command is the enhanced version of useradd command. adduser command uses useradd command in backend. Knowing how to add and remove users … Read more

15 ip Command Examples for Linux Users

The linux ip command is similar to ifconfig, but more powerful and is intended to be a replacement for it. With ip you have the advantage of performing several network administration tasks with only one command. In this tutorial, we are going to discuss 15 most common uses for ‘ip’ command, so let’s get going. … Read more

How to use One Time Task Scheduling Command “at” in Linux

Unlike cron, which let us run a task on a regular basis, at gives us the ability to execute a command or a script at a specified date and hour, or after a given interval of time. Minutes, hours, days or weeks can be used as units. It’s even possible to use certain “keywords” as … Read more

How to use “dmesg” command on Linux Systems

dmesg command is used to display the kernel related messages on Unix like systems. dmesg stands for “display message or display driver“. dmesg command retrieve its data by reading the kernel ring buffer. While doing troubleshooting on Linux systems, dmesg command becomes very handy, it can help us to identify hardware related errors and warnings, … Read more