
Linux Commands and vi Editor Quiz
Authored by Ideal Focus
Information Technology (IT)
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the command chmod 644 file.txt do?
Sets file.txt to rwxrwxrwx
Sets file.txt to rw-r--r--
Sets file.txt to r--r--r--
Sets file.txt to rwxr-xr-x
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does ls -ltr display?
Long listing sorted by size
Long listing sorted by reverse modification time
Long listing with file types
Long listing with recursive subdirectories
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of mv old.txt new.txt?
Copies old.txt to new.txt
Renames old.txt to new.txt
Compares old.txt and new.txt
Merges old.txt with new.txt
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you run cp -r dir1 dir2?
Creates hard link between dir1 and dir2
Copies dir1 recursively into dir2
Compares contents of dir1 and dir2
Synchronizes dir1 with dir2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does mkdir -p projects/docs accomplish?
Creates projects directory only
Creates docs directory only
Creates both projects and docs directories
Creates temporary projects/docs path
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will rm -i *.tmp do?
Ignore all .tmp files
Interactively delete all .tmp files
List all .tmp files
Remove only hidden .tmp files
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the effect of cd ~/Documents?
Lists Documents directory contents
Changes to Documents directory in home folder
Creates Documents directory
Displays Documents directory permissions
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?