ubuntu quiz 20SSL6043

ubuntu quiz 20SSL6043

University

10 Qs

quiz-placeholder

Similar activities

Kuis SO 1

Kuis SO 1

University

15 Qs

Quiz 2

Quiz 2

University

10 Qs

DPMQ2

DPMQ2

University

15 Qs

ICYS5112 LU1 Quiz

ICYS5112 LU1 Quiz

University

15 Qs

Quiz Booting dan CPU

Quiz Booting dan CPU

10th Grade - University

10 Qs

Github Quiz

Github Quiz

10th Grade - University

15 Qs

Test elemental de comandos Linux

Test elemental de comandos Linux

University

10 Qs

ubuntu quiz 20SSL6043

ubuntu quiz 20SSL6043

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Roxy Official

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?