Basic file operations

Basic file operations

University

10 Qs

quiz-placeholder

Similar activities

MP Pertemuan 05

MP Pertemuan 05

University

10 Qs

MARINERS - GE ELEC 1 (F_QUIZ) - CA_SET B

MARINERS - GE ELEC 1 (F_QUIZ) - CA_SET B

University

12 Qs

Pengenalan Excel - Kelas 10

Pengenalan Excel - Kelas 10

10th Grade - University

10 Qs

Contpaqi Contabilidad Sesión 5 ultima

Contpaqi Contabilidad Sesión 5 ultima

University

12 Qs

OSS (QUIZ 8) Security and Protection

OSS (QUIZ 8) Security and Protection

University

15 Qs

NoSQL - PR3 & PR4 quiz

NoSQL - PR3 & PR4 quiz

University

10 Qs

Android Studio Quiz - BSCS IV

Android Studio Quiz - BSCS IV

University

10 Qs

Database Concepts and MS Access Assessment

Database Concepts and MS Access Assessment

8th Grade - University

10 Qs

Basic file operations

Basic file operations

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Hard

Created by

Ishini Ranganee

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you copy a file named file5.txt from the Documents directory to the Backup directory?

cp ~/Documents/file1.txt ~/Backup/

ls- list file in directly

cp ~/Documents/file5.txt ~/Backup/

create links to a file

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command would you use to list all files in a directory along with their inode numbers?

ls-a

ls -i

ls -h

ls -f

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you delete a file named temp.txt in the current directory?

de temp.txt

cp temp.txt

rmi temp.txt

rm temp.txt

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you rename a file old_name.txt to new_name.txt in the current directory?

mv old_name.txt old_name.txt

mv new_name.txt new_name.txt

mv old_name.txt new_name.txt

mv 1_name.txt old_name.txt

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you list files in a directory and include indicators for file types

ls -F

cp -F

ls -I

mv -F

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command would you use to list files in a directory with detailed information, including file permissions, and display the sizes in a human-readable format (e.g., 1K, 2M)?

ls -mv

cp -lh

ls -lh

ls -25

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What can you use to recursively copy direction?

-a or -R option

only -a option

only -R option

All these answers

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?