Basic Linux Commands
- COMMANDS USE IN DAILY ACTIVITIES TASK --- What is the Linux command to
Table of contents
No headings in the article.
Check your present working directory
- To check your present working directory you can use the “PWD” command.
- 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.
- 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!!