Commanding the Line

Commanding the Line

University

9 Qs

quiz-placeholder

Similar activities

KPOP TWICE

KPOP TWICE

1st Grade - Professional Development

14 Qs

Praktikum Lab 2 - Do File

Praktikum Lab 2 - Do File

University

12 Qs

Car Name?

Car Name?

University

11 Qs

TechnicalQuizForTheSquad

TechnicalQuizForTheSquad

10th Grade - University

10 Qs

Single-phase Uncontrolled Rectifiers (Part 5)

Single-phase Uncontrolled Rectifiers (Part 5)

University

10 Qs

Minecraft Java Edition

Minecraft Java Edition

8th Grade - Professional Development

10 Qs

Git & GitHub

Git & GitHub

University

10 Qs

Quiz Sistem Operasi

Quiz Sistem Operasi

University

10 Qs

Commanding the Line

Commanding the Line

Assessment

Quiz

Other

University

Medium

Created by

Lay Jones

Used 2+ times

FREE Resource

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 .

8.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

How can you open a file using the default native (graphical) OSX application?

top filename

ls

open ~

open filename

9.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

How can you avoid typing out a whole file or folder name on the command line?

Use Finder instead

pwd

ls filename

Press [tab] after typing the initial few letters of the name