Search Header Logo

Linux commands 2

Authored by Eduardo Martínez

Computers

Professional Development

Used 4+ times

Linux commands 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which command is used to copy files or directories?

copy
move
rm
cp

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the purpose of the command 'rm'?

Rename files
Remove files or directories
Make directories
Display file content

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which command is used to remove an empty directory?

rm
copy
rmdir
ls

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What does the 'mv' command do?

Move files or directories
Rename files or directories
Make directories
Display file content

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which command is used to create a new file?

make
new
create
touch

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

How do you copy a file named 'file1.txt' to a directory named 'backup'?

cp file1.txt backup
cp file1.txt cp backup
cp backup file1.txt
backup cp file1.txt

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the command to remove a file named 'file.txt'?

remove file.txt
delete file.txt
rm file.txt
erase file.txt

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?