Recall & Review
beginner
What does the
ls command do in Linux?The
ls command lists all files and directories in the current folder. It's like opening a drawer to see what's inside.Click to reveal answer
beginner
How do you change the current directory in Linux?
Use the
cd command followed by the folder name to move into that folder. For example, cd Documents moves you into the Documents folder.Click to reveal answer
beginner
What is the purpose of the
pwd command?The
pwd command shows your current location in the folder structure. It tells you the full path of where you are, like a street address.Click to reveal answer
beginner
How can you create a new empty file using Linux commands?
Use the
touch filename command to create a new empty file named filename. It's like creating a blank sheet of paper.Click to reveal answer
beginner
What does the
man command do?The
man command shows the manual or help page for other commands. It explains how to use a command and its options, like a user guide.Click to reveal answer
Which command lists files and folders in the current directory?
✗ Incorrect
The
ls command lists files and folders in the current directory.What does the
cd command do?✗ Incorrect
The
cd command changes your current directory to another folder.How do you see your current folder's full path?
✗ Incorrect
The
pwd command prints the full path of your current directory.Which command creates a new empty file?
✗ Incorrect
The
touch command creates a new empty file.What is the use of the
man command?✗ Incorrect
The
man command shows the manual or help page for other commands.Explain how you would navigate to a folder named 'Projects' and list its contents using Linux commands.
Think about moving into the folder first, then seeing what's inside.
You got /2 concepts.
Describe how to create a new file called 'notes.txt' and check where you are in the folder structure.
First create the file, then find your current location.
You got /2 concepts.