Search Header Logo

Linux Practice Quiz 4

Authored by Lugaga Maurice

Professional Development

Professional Development

Used 3+ times

Linux Practice Quiz 4
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

20 sec • 4 pts

Which of these commands will create a new shell logged in as the root user?

sudo

su

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

The ls command without options or arguments...

...generates an error as this command

  • …lists the contents of a user’s home.

…generates an error as this command.

  • …lists the contents of the current directory.

3.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Which of the following is NOT an example of an absolute path?

Documents

/

/home/sysadmin

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which command will allow you to change your current directory?

chdir

cd

ls

ch

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Commands are case-sensitive:

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ping command uses IP addresses to identify a computer on a network

True

False

7.

MULTIPLE SELECT QUESTION

45 sec • 10 pts

Which of the following commands will display the last five lines of a file called file1.txt?
(choose two)

  • head -n 5 file1.txt

  • tail -5 file1.txt

  • tail file1.txt

  • tail -n 5 file1.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?

Discover more resources for Professional Development