1. Which of the following command options will list all files, including hidden files, in the current directory?

ubuntu quiz 20SSL6043

Quiz
•
Information Technology (IT)
•
University
•
Hard
Roxy Official
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ls -l
ls -a
ls -h
ls -r
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. What does the mv command do in Linux?
A) It moves files or directories from one location to another.
B) It displays the contents of a file.
C) It creates new directories.
D) It shows the system memory usage.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. What happens if you run the following command: mv file1.txt/home/user/docs/?
A) It deletes the file file1.txt.
B) It renames the file file1.txt.
C) It moves the file file1.txt to the /home/user/docs/ directory.
D) It copies the file file1.txt to the /home/user/docs/ directory.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. To copy a file named data.txt from the current directory to the /home/user/backup/ directory, which command would you use?
A) ls data.txt /home/user/backup/
B) mv data.txt /home/user/backup/
B) cp data.txt /home/user/backup/
D) rm data.txt /home/user/backup/
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. What command would you use to list the contents of a directory with detailed file information like permissions, ownership, and timestamps?
A) ls -v
B) ls -l
C) ls -p
D) ls -a
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Which of the following commands would remove the file file1.txt?
A) cp file1.txt
B) mv file1.txt
C) rm file1.txt
D) ls file1.txt
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. How would you copy a directory named folder and its contents to another directory called /home/user/backup/?
A) cp -r folder /home/user/backup/
B) mv folder /home/user/backup/
C) cp folder /home/user/backup/
D) ls -r folder /home/user/backup/
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
The Linux Vault

Quiz
•
University
10 questions
Quiz sobre o Terminal em Bioinformática

Quiz
•
University
10 questions
Quiz de Seg. da Informação

Quiz
•
University
10 questions
ICT315

Quiz
•
University
15 questions
IT-WS06 (Lesson 2)

Quiz
•
University
10 questions
Basic file operations

Quiz
•
University
15 questions
Linux - podstawy + polecenia konsoli

Quiz
•
10th Grade - University
10 questions
Cuestionario sobre Linux y Comandos

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade