Search Header Logo

Linux Commands Review Week 6

Authored by Steven Ellison

Computers

University

Used 9+ times

Linux Commands Review Week 6
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command creates a directory structure all the way to the last directory in the hierarchy: ex. /home/tator/Documents/Midterm/Ch1/

mkdir -p

cd -Pa

mkdir -al

chd -A

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command will run a $program as the root user.....if you have been given permissions?

su $program

sudo $program

root $program

whoami $program

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command will allow you to look at the users on a system; regardless of whether or not they are logged on.

w

man users

less /etc/passwd

more /etc/users

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command will show you where you are currently located?

pts

tty

cd

pwd

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What key combination allows you to switch to the virtual consoles on tty1-6?

Ctrl, Shift, Left/Right Arrow

Ctrl, Alt, Up/Down Arrow

Ctrl, Alt, F1 - F6

Alt, 1-6

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command will NOT let you see the contents of a file?

less

vim

nano

file

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command modifier will output the results to a text file?

>

|

<

;

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?