Linux Commands Quiz

Linux Commands Quiz

University

30 Qs

quiz-placeholder

Similar activities

Manajemen File

Manajemen File

10th Grade - University

25 Qs

Linux Essentials

Linux Essentials

University

31 Qs

LPF241_Q1

LPF241_Q1

University

25 Qs

Linux Test Prep 1

Linux Test Prep 1

7th Grade - Professional Development

25 Qs

Comandos de Linux

Comandos de Linux

University

25 Qs

UAS Praktikum Adm Server

UAS Praktikum Adm Server

University

30 Qs

Bash & R

Bash & R

University

31 Qs

Linux Review 3

Linux Review 3

8th Grade - Professional Development

28 Qs

Linux Commands Quiz

Linux Commands Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Dr. Meher

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary difference between a soft link and a hard link?

Soft links are directories, and hard links are files

Soft links are pointers to files, while hard links are duplicates of the file

Hard links can cross file systems, but soft links cannot

There is no difference

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to create a soft link?

ln

ln -s

link

ln -h

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the original file of a soft link is deleted, what happens to the soft link?

It remains functional

It points to nothing (becomes a broken link)

It automatically deletes

It becomes a hard link

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to create a hard link?

ln -s

ln

link -h

hardlink

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the sudo command do?

Switches user

Executes commands as a superuser

Logs in as root permanently

Displays file permissions

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which file contains information about users with sudo privileges?

/etc/sudoers

/etc/passwd

/etc/group

/etc/shadow

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the adduser command?

To delete a user

To modify a user

To add a new user

To view user information

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?