
Linux Fundamentals
Authored by Kevin Wakuze
Instructional Technology
Professional Development
Used 20+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following command do?
touch media/popular.txt
It creates a file named popular.txt in your working directory
It creates a file named popular.txt in the media directory.
It changes the working directory to the media directory.
This command is not formed correctly.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the current working directory is home/, which of the following commands will navigate to the movies/ directory in the tree below?
home/
media/
movies/
music/
mkdir media/movies
ls media/movies
cd movies
cd media/movies
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is a directory?
A command to a computer
A tree structure
A file
A folder used to store files
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you print the current working directory?
pwd
mkdir
cd
ls
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you create a file named text.txt in your current directory?
touch text.txt
mkdir text.txt
touch home/text.txt
ls text.txt
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands in Linux is used to display information about files and directories contained within the current working directory?
pwd
ls
grep
ps
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the answers listed below refers to a Unix command for copying files and directories?
pwd
cp
ls
copy
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?