Search Header Logo

Linux Quiz

Authored by Leek Deng

Computers

University

Used 8+ times

Linux Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command would you use to list all files, including hidden ones, in a directory?

ls

ls -l

ls -a

ls *

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Explain the difference between absolute and relative paths in Linux file systems.

Absolute paths start from the root directory while relative paths start from current directory.

Relative path use the / symbol, while absolute path use ~

Absolute paths reference user home directories, while relative paths are for system directories.

Both refer to the same type of file path.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do the permissions “rwx” in a Linux file system stand for?

Rename, write, execute

Read, write, execute

Read, wrote, expand

Retrieve, write, execute

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you check the owner and group associated with a file?

ls -l

Chmod

chown

cat

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command would you use to change the permissions of a file to rwxr-x---?

chmod 751

chmod 760

chmod 750

chmod 740

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where are system logs typically stored in Linux?

/etc/log

/var/log

/home/log

/sys/log

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of information is commonly found in the /var/log/auth.log file?

Application crashes

Authentication Attempts

Disk usage details

Kernel boot Logs

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 Computers