Search Header Logo

ICT315- 20SSL6142

Authored by Nijami Sashikala

Computers

University

ICT315- 20SSL6142
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 1. what is the purpose of linux commands

To list file and directories

To remove files

To copy files

To display system details

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 2. Which option with ls shows hidden files in a directory?

-R

-a

-i

-t

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 3. How to list all files in a directory with detailed information ( like permissions, owner, size, and modification date)?

ls -r

ls -l

ls -a

ls -d

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 4. 4. Which of the following commands will delete a file named example.txt?

erase example.txt

remove example.txt

rm example.txt

del example.txt

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. What is the effect of using the rm -r command?

Removes all files in the current directory

Removes a directory and its contents recursively

Removes files with read-only permission

Moves files to the trash

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. Which option with rm prompts before deleting each file?

-f

-d

-p

-i

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. What is the primary purpose of the cp command?

To change permissions of a file

To copy files and directories

To rename files

To delete files

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?