1 File Commands in Linux

1 File Commands in Linux

12th Grade

16 Qs

quiz-placeholder

Similar activities

Google Apps

Google Apps

6th - 12th Grade

16 Qs

Operating System

Operating System

12th Grade

17 Qs

Getting Started with MS Office

Getting Started with MS Office

7th - 12th Grade

19 Qs

Comandos y privilegios de linux

Comandos y privilegios de linux

12th Grade

18 Qs

FILE MANAGEMENT

FILE MANAGEMENT

KG - University

15 Qs

Manage Media Library

Manage Media Library

9th - 12th Grade

11 Qs

Cyber Security

Cyber Security

8th - 12th Grade

20 Qs

Chapter 6 Part 2 - 4

Chapter 6 Part 2 - 4

11th - 12th Grade

11 Qs

1 File Commands in Linux

1 File Commands in Linux

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Rinchen Tso

Used 3+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option with cat displays line numbers?

cat -n

cat --number

cat -l

cat -e

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you concatenate multiple files using cat?

Execute 'cat file1 file2 -o output_file' to join files.

Use 'merge file1 file2 > output_file' to combine files.

Use 'cat file1 file2 ... > output_file' to concatenate files.

Run 'cat > output_file file1 file2' to concatenate files.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the ls command?

To delete files

To change directory

To copy files

To list directory contents.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option with ls shows hidden files?

ls -a

ls -l

ls -1

ls -h

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you list files in a detailed format using ls?

ls -h

ls -l

ls -R

ls -a

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the cp command do?

The cp command moves files to a different location.

The cp command compresses files.

The cp command copies files and directories.

The cp command deletes files and directories.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option with cp allows you to copy directories recursively?

-a

-r

-f

-u

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?