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
komputasi awan

Quiz
•
University
8 questions
COM99 MS-DOS: QUIZ N°1

Quiz
•
University
15 questions
The Linux Vault

Quiz
•
University
12 questions
Help! Translate?

Quiz
•
University
15 questions
SO - scripts

Quiz
•
University
10 questions
ICT315

Quiz
•
University
15 questions
Exploring Software Development and UX

Quiz
•
University
10 questions
Understanding User Interfaces and Programming

Quiz
•
9th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade