Which of the following commands enables the sticky bit for a user on a file called homescript.sh?

Which of the following commands enables the sticky bit for a user on a file called homescript.sh?
A . chown u+sticky homescript.sh
B . chmod 755 homescript.sh
C . chmod u+s homescript.sh
D . chmod +sticky homescript.sh

Answer: C

Latest 101-500 Dumps Valid Version with 242 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments
Nikola
Nikola
2 years ago

The sticky bit is denoted with ‘t’, hence there is either a mistake in the question (should be the SUID bit, not the sticky bit), or the answers (should be +t or o+t)