When we work in terminal or command line, sometime we want to know in which current directory we are working. And sometimes we also want to know in which previous directory I worked.These requirement are simple but are very important for system administration. Information of working directory is also required in scripting. When system administrator […]
linux command
6 important examples of cd command on Linux and Unix Systems
In Linux and Unix Systems, cd command is one the basic,essential and frequently use command.Abbreviation of cd is “Change Directory” . For Linux/Unix System Administrator, it is important to know by how many ways cd command can be used. In this post, I have listed 6 examples which will help you in your daily system […]
How to set motd In Linux
Learn how to configure or set motd on Linux Operating Systems. The motd abbreviation is “Message Of The Day”. The motd is widely used in Linux servers.
type Command : Display Information About Command Type On Linux
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 […]
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.