Basic Linux command

#90DaysOfDevOps

#Day02:

  1. Command to check your present working directory:-

    To check in which directory you are working ,pwd command is used.

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

    To list all the files and directories in the present working location we use ls command. To list hidden files/folders we use:

    ls -a

we can also use la command in place of ls -a .It will also give you the same output as shown above. As la is an alias for ls -A.

Create a nested directory A/B/C/D/E:-

  1. We use mkdir to make directories. To make a nested directory we use the command mkdir -p A/B/C/D ..

tree command is to list directory content in a tree-like format. To use the tree command you will have to download it using sudo apt-get install tree command.

Thank you for reading!!

~Sujata Kumari

Great initiative by the #trainwithshubham community.