Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.64 KB

Challenge-02.md

File metadata and controls

37 lines (27 loc) · 1.64 KB

Challenge 02 - Handling directories

< Previous Challenge - Home - Next Challenge >

Description

In this challenge you will learn how to perform common directory operations such as displaying your current directory and listing directory contents.

  • Display your current directory
  • Go to the parent directory of the current directory
  • Go to the root directory (/)
  • List the contents of the root directory (/)
  • Display a long listing of the root directory
  • Stay where you are and list the contents of your home directory (~)
  • List all the files (including hidden files) in your home directory (~)
  • Use a single command to create the following directory tree ~/folder1/folder2/folder3 (folder3 is a subdirectory from folder2, and folder2 is a subdirectory from folder1)
  • List recursively the content of your ~
  • Find the directories within your home folder

Success Criteria

  1. Confirm you can see your username under the home folder
  2. Confirm you are in the /home directory (~)
  3. Validate you are in the / directory
  4. Confirm you can list the files under the /
  5. Confirm you can see the long list with details from / directory
  6. Confirm you are listing the content of ~ and not from /
  7. Confirm you can see the hidden files from your home directory
  8. Validate if you were able the create the directory tree using a single command
  9. Confirm if you are seeing a recursive list of the content from your ~
  10. Validate if only directories are being listed within your home folder

Learning Resources