Basic Linux commands used by SysAdmin and Developers
man – Manual Command
man – Manual command in Linux is used to display or check the user manual of any command that we can run on the terminal.
ls – List Command
ls – List command in linux is used to list contents of a directory. The -l option enables long listing format as shown below:
You can also type ls -l in short as ll and both shows same output as shown below:
cat – Cat(concatenate) command
cat – (short for “concatenate“) command in linux is one of the most frequently used command in Linux/Unix like operating systems. It reads data from the file and gives their content as output. cat command allows us to create single or multiple files, view contain of file, concatenate files and redirect output in terminal or files.
cd – Change Directory
cd – cd command in linux known as change directory command. It is used to change current working directory. In the below example, we have checked the current working directory of the user and moved inside the homedirectory by using ‘cd home‘ command.
pwd – Print Working Directory
pwd – ‘pwd‘ stands for ‘Print Working Directory’. As the name states, command ‘pwd‘ prints the current working directory or simply the directory user.