Search Header Logo

Linux quiz 2

Authored by Nabila Hasibuan

Life Skills

University

Used 3+ times

Linux quiz 2
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.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What is true?

Absolute paths always start at the root directory

An absolute path starts with the name of a directory

An absolute path starts with a /

Absolute paths allows the user to specify the exact location of a directory

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What command can be used for searching Files in Linux filesystems

df

ls

locate

search

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What can you do with the . character in Linux?

Go back to the previous directory (cd .)

It represents the Root directory (/)

It always represent the current directory

Go back to your home-directory (cd .)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When using 'locate' to find a file, always...

switch to the root-user before the command

use 'sudo' before the locate

run 'updatedb' before the command as root

run 'index' before the command as root

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command can be used to create an empty file

create

make

type

touch

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will happen when the command 'cd ~;cd ../..' will be entered?

nothing, you stay in the same directory

you go to the root-directory

you get an error

you will go to your home-directory

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What is true about hidden files in Linux?

They are not listed when using 'ls -a'

They are not listed when using 'ls -l'

They are listed when using 'ls-h'

They start with a dot (.)

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?