In this tutorial, let’s look at some basic Linux commands that will help you get familiar with the Linux operating system and working with the command shell in Linux. Note that unlike the Windows operating system, Linux is case sensitive. So in Linux pwd is not the same as PWD.
pwd stands for the present working directory. This command returns the present working location in the directory structure. If we issue PWD instead of pwd in the command shell, we would get an error
PWD command not found.
whoami command returns the user you are logged in.
cd( change directory)
cd command is used to change directory.
ls is used to list the contents of the directory. This command is something similar to the dir command on Windows. The output of the command includes the files and subdirectories.