In: Computer Science
What are the UNIX codes for each of these steps
Display the directories and sub-directories including files so I can verify your starting point.
---- You can use ls -R command to list down all the directoring and sub-directories present in the current directory.
-R option list down files recursively meaning it will print the files present in the sub-directories as well.
Example:- I am currently in directory names test which contains sub-directories named abc and xyz. xyz folder contains file xyz in it.
Output of ls -R:
Redirect t the above step to the lab3.txt file:
You can redirect the output of ls -R to lab3.txt by using symbol >
You command will bye like ls -R > lab3.txt
Output
Content inside lab3.txt:
Make a sub-directory named Files in your user directory:
To create subdirectory in the presend directory use command mkdir foldername
Hope i made it clear to you. Enjoy!!!!