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

Linux Commands Quiz

Quiz
•
Computers
•
University
•
Hard
Dr. Meher
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
25 questions
Information Security Quiz

Quiz
•
University
30 questions
UAS Praktikum Adm Server

Quiz
•
University
31 questions
Bash & R

Quiz
•
University
33 questions
Service Management Linux 9

Quiz
•
University
25 questions
Systems Maintenance and Administration Midterm Quiz

Quiz
•
University
25 questions
QUIZ 2

Quiz
•
University
32 questions
Section 7: Security (24-27)

Quiz
•
University
25 questions
C- Geniusia

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade