In this post we are explaining about type command with examples. In Linux system, type command is used for displaying information about command types. It displays if command is an alias,shell function, shell builtin, disk file, or shell reserved word. You can use type command with other command names also. With the help of type […]
Linux
Find exit status code of last executed command on Linux and Unix
When we execute any command or script,it returns an exit status. The exit status is also called as return code or exit code. It is important to know the exit status of command which we execute. The method which we are going to describe become more helpful with script also. Exit status must be an […]
Find Absolute Path Of Command On Linux / Unix : which command
Learn more about which command with examples to find the path of Linux command and executable files in Linux and Unix operating system.
6 df Command Examples To Check Mounted Filesystem On Linux
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 […]
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 […]
Recent Comments