Search Header Logo

Commanding the Line

Authored by Lay Jones

Other

University

Used 2+ times

Commanding the Line
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

1 min • 5 pts

Media Image

What can you press to cancel or quit a terminal program that seems not to be responding?

Esc

Power Button

Command + Q

Control + C

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

What is 'cd' short for?

Current directory

Create Directory

Climate Dysfunction

Change Directory

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

Which command should you use to search for a word across multiple files?

grep

ls

cat

delete

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

What is the tilde (~) symbol a shortcut for, when used on the command line?

Your username

The last command you typed

The address of the store from which you bought the computer

Your home directory

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

How do you browse through the history/log of commands you have typed on the command line?

grep

whoami

Up/Down arrows

google

6.

MULTIPLE SELECT QUESTION

1 min • 5 pts

Media Image

Which of the following commands will show you the contents of a text file?

less

ls

cat

pwd

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

How do you change directory to a folder two levels up?

cd ..

cd ../..

cd /

cd .

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?