
2 Linux File Commands
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
Rinchen Tso
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary function of the mv command?
To delete files and directories.
To compress files and directories.
To move or rename files and directories.
To copy files and directories.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which option of the mv command allows you to rename a file?
The mv command can only rename directories, not files.
The mv command allows you to rename a file by specifying the current filename and the new filename.
The mv command requires a destination directory to rename a file.
The mv command is used to copy files only.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you move a file to a different directory using mv?
mv filename.txt /path/to/directory/
mv filename.txt to /path/to/directory/
mv /path/to/directory/filename.txt
move filename.txt /path/to/directory/
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the -i option do when used with the mv command?
The -i option ignores all files during the move.
The -i option creates a backup of the original file.
The -i option changes the file permissions before moving.
The -i option prompts for confirmation before overwriting files.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can you use mv to move multiple files at once? If so, how?
You can only move files if they are in the same directory.
No, mv can only move one file at a time.
Yes, you can use mv to move multiple files at once by listing them before the destination.
You must use a different command to move multiple files.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the wc command in Linux?
The purpose of the wc command in Linux is to count lines, words, and characters in files.
To compress files for storage
To change file permissions
To display the contents of a file
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which option of the wc command counts the number of lines in a file?
wc -c
wc -w
wc -m
wc -l
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
12 questions
Wee Word Intro
Quiz
•
7th - 12th Grade
20 questions
TIK 9 - Penggunaan Browser Untuk Akses Internet
Quiz
•
11th - 12th Grade
17 questions
Quiz 01 Keamanan Jaringan
Quiz
•
12th Grade
14 questions
TCP/IP & other protocols [A Level]
Quiz
•
12th Grade
10 questions
Abhyudaya coding class - Grade 7
Quiz
•
6th Grade - University
20 questions
Quiz
•
7th - 12th Grade
20 questions
Format File Gambar
Quiz
•
12th Grade
20 questions
Quiz ASJ
Quiz
•
12th Grade
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
