Basic Linux Commands

Basic Linux Commands

- COMMANDS USE IN DAILY ACTIVITIES TASK --- What is the Linux command to

Table of contents

No heading

No headings in the article.

  1. Check your present working directory

    • To check your present working directory you can use the “PWD” command.

  1. List all the files or directories including hidden files.
  • To check all the files or directories including hidden files

    ls -a

For example, the "-a" option will show all files and folders, including hidden ones.

  1. Create a nested directory A/B/C/D/E, we can use below command

- Use the command “mkdir -p A/B/C/D/E” to create nested directories.

- Use the “tree” command to print out the directories.

- Install the tree, run the command " sudo apt install tree "

Thanks for reading!!