Search Header Logo

Linux CLI Quiz

Authored by Eric Asel

Computers

12th Grade

Used 3+ times

Linux CLI Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 5 pts

What command would you type to gain administrative access?

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

If you want to delete a folder and everything inside of it, what is the best command to use?

mv

rm

DELETE

rm -R

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What command will take you UP one directory?

cd

mv

pico

cd ..

4.

FILL IN THE BLANK QUESTION

1 min • 5 pts

If you aren't sure what directory you are in, what command will tell you that information?

5.

FILL IN THE BLANK QUESTION

1 min • 5 pts

If you need to edit a text document, what command would you type?

____ myfile.txt

6.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

We use the | grep command to find things inside terminal. If you needed to search a text document for the number of times the word computer appeared, what command would accomplish this?

cat document.txt | grep computer

grep -c computer

cat document.txt | grep -c computer

cat document.txt grep computer

7.

FILL IN THE BLANK QUESTION

1 min • 5 pts

On your linux VM, Firefox has frozen and will not respond. What command could you type to close the application?

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?