Answered step by step
Verified Expert Solution
Question
1 Approved Answer
List the names of all the files in the / usr / bin directory that has as in them and count how many of them
List the names of all the files in the usrbin directory that has as in them and count how many of them there are.
Question marks
List the names of all the files in the usrbin directory that start with an uppercase letter and count how many of them there are.
Question marks
List the names of all the files in the usrbin directory that start with an uppercase letter and end with a number and count how many of them there are.
Question marks
List the names of all the files in the usrbin directory that consist of letters, where the nd letter must be a or b or c and count how many of them there are.
Question marks
List the names of all the files in the usrbin directory that start and end with a vowel and have a total of filename length of only characters and count how many of them there are.
Exercise : Working with file permissions.
Initial setup:
Create two new directories: coscdir and coscdir Using the touch command create five files file file in both directories.
Question use Symbolic Notation to change file permissions. marks each
a The file file should be executable only by the owner, and neither readable nor writable by anyone.
b The file file should be readable and executable by you and others, but not by members of your group.
c The file file should have write permissions enabled for you and your group, read permissions disabled for all, and should only be executable by others.
d The file file should be readable and writable by you and others, but not by members of your group.
e The file file should be readable and writable only by members of your group, not by you or others.
In the coscdir directory, take a screenshot the output by executing the command ls l
Question use Octal Notation to change file permissions. marks each
Repeat Question for the files in your coscdir directory but use the chmod command with octal notation.
In the coscdir directory, take a screenshot the output by executing the command ls l
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started