Category: Commands

Add directory to PATH variable CentOS and Red Hat

When we running a command in Linux, logically we should type the full path to that command. For example, since the pwd command is in the /bin directory, we should actually type the /bin/pwd command to list files in the current directory. With the benefit of the PATH, an environment variable, that’s not required. The

Using ACLs (Access Control Lists) with Linux filesystem

This article was written specifically for Red Hat and CentOS but concept will be the same for other Linux distributions. In this article we will go over ACLs for Linux and how they can be used to control access to files and directory’s on Linux file system. ACLs start with ownership and permissions. ACL on

Using rcp on Linux system to copy files

RCP – Remote Copy Protocol Is used to copy files between two Unix/Linux systems. We do not recommend using this utility since it is unsecured and sends data over network without encryption.

Linux shell basics

In this quick tutorial we will look at few different Linux shells , main shell configuration files and few quick tricks that will help you when working with shell commands.

Linux job scheduling with crontab

We previously looked into scheduling jobs with at command now we will look into using crontab to execute commands in the future time.

Linux job scheduling with at

Being able to execute a Linux command at a later time is very important feature for systems Administrator. Job scheduling is taken care by two daemons: atd and crond. Atd manages jobs that run only ones while crond runs jobs at predefined times.

Soft vs Hard links Linux

In order to better understand soft and hard links lets take a quick look at inode and what it does. Inode basically is metadata that holds files information in form of attributes like type, size, permissions, owners name, last access time, modification time, ACL settings. Inode also has pointers to the location in the file

Using Linux Find Command

Lets take a look at few examples using Linux powerful find command. In general find command recursively searches directories and finds files that match specific criteria. This powerful tool can look for files based on name, inode number, modification time, file types and even size. Find command can also perform some action on found files.