Day 2 - Basic Linux commands

Day 2 - Basic Linux commands

Task: What is the linux command to

  1. Check your present working directory.

  2. List all the files or directories including hidden files.

  3. Create a nested directory A/B/C/D/E

Note: Check this file for reference

Check the basic_linux_commands.md file on the same directory day2


1. Connect your terminal to EC2 instance with ssh or through pem.key using MobeXterm or Putty

# To check the present working directory

$ pwd

2. To list all the files in the directories including hidden files

# Lists the files

$ ls

# Lists the hidden files also

$ ls -a

  1. Creating a nested Directory