2 Linux File Commands

2 Linux File Commands

12th Grade

15 Qs

quiz-placeholder

Similar activities

Linux: Users and Groups

Linux: Users and Groups

9th Grade - University

14 Qs

Archivos Digitales

Archivos Digitales

9th Grade - University

14 Qs

tik kelas 7

tik kelas 7

1st Grade - University

15 Qs

Digital Icons

Digital Icons

12th Grade - University

16 Qs

Quiz TLJ - VoIP

Quiz TLJ - VoIP

12th Grade

10 Qs

Dasar Desain Grafis

Dasar Desain Grafis

12th Grade - University

15 Qs

REMEDI PAS - DESAIN DAN KOMP. GRAFIS

REMEDI PAS - DESAIN DAN KOMP. GRAFIS

12th Grade

20 Qs

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

2 Linux File Commands

2 Linux File Commands

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Rinchen Tso

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary function of the mv command?

To delete files and directories.

To compress files and directories.

To move or rename files and directories.

To copy files and directories.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option of the mv command allows you to rename a file?

The mv command can only rename directories, not files.

The mv command allows you to rename a file by specifying the current filename and the new filename.

The mv command requires a destination directory to rename a file.

The mv command is used to copy files only.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you move a file to a different directory using mv?

mv filename.txt /path/to/directory/

mv filename.txt to /path/to/directory/

mv /path/to/directory/filename.txt

move filename.txt /path/to/directory/

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the -i option do when used with the mv command?

The -i option ignores all files during the move.

The -i option creates a backup of the original file.

The -i option changes the file permissions before moving.

The -i option prompts for confirmation before overwriting files.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can you use mv to move multiple files at once? If so, how?

You can only move files if they are in the same directory.

No, mv can only move one file at a time.

Yes, you can use mv to move multiple files at once by listing them before the destination.

You must use a different command to move multiple files.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the wc command in Linux?

The purpose of the wc command in Linux is to count lines, words, and characters in files.

To compress files for storage

To change file permissions

To display the contents of a file

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option of the wc command counts the number of lines in a file?

wc -c

wc -w

wc -m

wc -l

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?