
Linux Commands 5
Authored by Yasi B
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the ls command?
List the contents of a directory
Copy files and directories
Remove files and directories
Move or rename files and directories
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to define temporary aliases in the shell session?
ls
alias
unalias
pwd
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the pwd command do?
Print the working directory
Change the directory
Copy files and directories
Remove files and directories
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you copy a file using the cp command?
cp file_to_copy.txt new_file.txt
cp -r dir_to_copy/ new_copy_dir/
cp file_to_copy.txt
cp -r dir_to_copy/
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to remove files and directories?
ls
alias
rm
mv
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the mv command?
List the contents of a directory
Copy files and directories
Remove files and directories
Move or rename files and directories
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a new folder using the mkdir command?
mkdir images/
mkdir -p movies/2004/
mkdir
mkdir -p movies/
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
10 questions
Microcontroller
Quiz
•
11th Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
15 questions
IT 209
Quiz
•
University
20 questions
PHP First Internal Practical Viva
Quiz
•
University
10 questions
Living in the IT Era
Quiz
•
University
15 questions
Assessment 08
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade