Questions
IWBS001 Script Examples Ungraded Quiz
Multiple choice
You wish to convert all files with an .sh extension into executable files (only for the owner). How can you do this with a wildcard?
Options
A.chmod u+x *.sh
B.chmod u+x *
C.No answer text provided.
D.No answer text provided.
View Explanation
Verified Answer
Please login to view
Step-by-Step Analysis
The question asks: You wish to convert all files with an .sh extension into executable files (only for the owner). How can you do this with a wildcard?
Option 1: 'chmod u+x *.sh' This is the correct approach given the goal. The wildcard *.sh matches only files ending with the......Login to view full explanationLog in for full answers
We've collected over 50,000 authentic exam questions and detailed explanations from around the globe. Log in now and get instant access to the answers!
Similar Questions
Question at position 14 The command chmod 511 FILE1.ONE is to set the permission to file FILE1.ONE so thatthe owner can read, write and execute it.nobody can delete it.no one can access it except the owner.all users can read it.
Question at position 10 To set the permission to file SECRET.DAT so that no one can delete it except the owner, we usechmod g-w,o-w SECRET.DATchmod 700 SECRET.DATAny of the abovechmod u+w SECRET.DAT
A file with UNIX permissions rwxrwxr-- does not allow writing by ______.
Question at position 1 Because the file is emptyBecause root access is required for all cat commandsBecause the file belongs to root and can only be read by rootBecause the file is encryptedClear my selectionBlackTom题目解析
More Practical Tools for Students Powered by AI Study Helper
Making Your Study Simpler
Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!