In this tutorial we will learn about, how to use df command to check the mounted filesystem on linux. As a Linux System administrator, this command is basic and very important.The df command shows the usage of mounted filesystem.It is notable that the filesystems which are not mounted on system,we can not get its information […]
linux command
How to show user account password expiration detail on Linux
The post is about to show account aging information.To get details of user account password expiration ,we use the command chage. With chage command use the option -l or –list. The chage program requires a shadow password file to be available.The absolute path of shadow file is /etc/shadow.It is notable that /etc/shadow file has password […]
How to show line numbers with less command in Linux
Today,in this post we will learn, How to show line numbers with less command in Linux.In our previous post we have described about how to show line number with cat command. Less command is similar to more command but it has more features.As the name suggest, it read less output rather than reading the entire […]
How to test rpm package before installation
In this tutorial we will know, how to test rpm package before installation .You may have seen while installing the rpm package file by using rpm -i command, some problem may occur. It can be issue with dependency,GPG signature or corrupt rpm package etc. As a Linux System Engineer,this command is very useful and should […]
How to find installation date and time of rpm package
In this post,we will know the linux command to find installation date and time of rpm package. As a Linux System Administrator,we take part in IT auditing activity. Sometimes for cross check we require the exact date and time of rpm file installed in Red Hat based Operating System (RHEL/CentOS/Scientific Linux). Hence,for auditing purpose,it is […]
Allow only members of Wheel group to use su command on RHEL/CentOS
In this tutorial we will learn,how to allow only members of Wheel group to use su command.Means only members of wheel group can switch to another user by using su command.As we know that in Red Hat based operating system, wheel group is a special administrative group. To allow only Wheel group’s member to use […]