Basic Linux Commands

Command to check present working directory?
pwd
The above command is used to check the present working directory in Linux.
-L, --logical use PWD from the environment, even if it contains symlinks
-P, --physical avoid all symlinks
--help display this help and exit
--version output version information and exit
If no option is specified, -P is assumed.
NOTE: your shell may have its own version of pwd, which usually supersedes the version described here. Please refer to your shell's documentation for de‐ tails about the options it supports.
Command to List all the files or directories including hidden files?
ls -la
ls command is used to list all files and flag -la displays directories including hidden files.
-l , --long listing
-a, --shows hidden files and folders
Command to Create a nested directory A/B/C/D/E?
mkdir -p A/B/C/D/E
mkdir command is used to create directory in Linux and -p makes parent directories as needed
-p, --makes parent directories as needed
