Basic Linux Commands

What is the Linux command to check your present working directory?

pwd

The above command is used to check the present working directory.


What is the Linux command to List all the files or directories including hidden files?

  •   ls -a
    

The above command is used to list all the files or directories including hidden files.


What is the Linux command to create a nested directory A/B/C/D/E?

mkdir -p A/B/C/D/E

The above command is used to create a nested directory.