0
0
Linux CLIscripting~10 mins

Why file system navigation is the first skill in Linux CLI - Test Your Understanding

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to list files in the current directory.

Linux CLI
ls [1]
Drag options to blanks, or click blank then click option'
A-l
B-z
C-x
D-q
Attempts:
3 left
💡 Hint
Common Mistakes
Using options that do not exist or do not show file details.
2fill in blank
medium

Complete the command to change directory to the user's home folder.

Linux CLI
cd [1]
Drag options to blanks, or click blank then click option'
A/root
B~
C/etc
D/var
Attempts:
3 left
💡 Hint
Common Mistakes
Using absolute paths to system folders instead of the home directory shortcut.
3fill in blank
hard

Fix the error in the command to move up one directory level.

Linux CLI
cd [1]
Drag options to blanks, or click blank then click option'
A~/
B.
C..
D/
Attempts:
3 left
💡 Hint
Common Mistakes
Using a single dot which means current directory, not parent.
4fill in blank
hard

Fill both blanks to create a directory and then move into it.

Linux CLI
mkdir [1] && cd [2]
Drag options to blanks, or click blank then click option'
Anew_folder
Bold_folder
Dtemp
Attempts:
3 left
💡 Hint
Common Mistakes
Using different folder names for creation and navigation.
5fill in blank
hard

Fill all three blanks to list all files including hidden ones in long format inside a directory.

Linux CLI
ls [1] [2] [3]
Drag options to blanks, or click blank then click option'
A-a
B-l
C/home/user
D-h
Attempts:
3 left
💡 Hint
Common Mistakes
Forgetting to include the directory path or mixing options.