What command would you type (as root) to change the ownership of somefile.txt from ralph to tony?

Linux Basico 7

Quiz
•
Computers
•
Professional Development
•
Hard
JUAN ALFONZO MARTINEZ AYALA
Used 1+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
chown ralph:tony somefile.txt
chmod somefile.txt tony
chown somefile.txt tony
chown tony somefile.txt
chmod tony somefile.txt
2.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Typing ls -ld wonderjaye reveals a symbolic file mode of drwxr-xr-x. Which of the following are true? (Choose all that apply.)
wonderjaye is a symbolic link
wonderjaye is an executable program.
wonderjaye is a directory.
wonderjaye may be read by all users of the system.
wonderjaye may be written by any member of the file’s group.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following commands can you use to change a file’s group?
groupadd
groupmod
chmod
ls
chown
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A file with permissions of 755 can be read by any user on the computer, assuming all users can read the directory in which it resides.
True
False
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Only root can use the chmod command.
True
False
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The ____ option causes chown to change ownership on an entire directory tree.
-L
-R
-H
-P
-f
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The three-character symbolic string _______ represents read and execute permission but no write permission.
-wx
--x
r-x
rw-
rwx
8.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The chmod symbolic representation _______ allows all users execute access to a file without affecting other permissions.
u+x
u-x
g+x
a-x
a+x
9.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You want to set the sticky bit on an existing directory, subdir, without otherwise altering its permissions. To do so, you would type chmod _____ subdir.
o+t
o+w
a+t
g+t
a+w
Similar Resources on Wayground
10 questions
Perform Word Processing

Quiz
•
Professional Development
10 questions
Cyber Linux

Quiz
•
Professional Development
11 questions
Python pathlib module

Quiz
•
Professional Development
11 questions
ICT Comp Arch & Sec - Lesson 4 - Software

Quiz
•
Professional Development
10 questions
Python Basics

Quiz
•
Professional Development
9 questions
Command Line

Quiz
•
12th Grade - Professi...
10 questions
SLG ULI Week 4

Quiz
•
University - Professi...
12 questions
CyberAnalysis - Дорешивание ВМ по правилам AD

Quiz
•
Professional Development
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade