Question: Linux System Administration In the /etc directory (from where you are now) are a number of directories such as rcX.d where the X is a
Linux System Administration
- In the /etc directory (from where you are now) are a number of directories such as rcX.d where the X is a single character. Write a command that uses an absolute path and lists the permissions of only these directories. The command should not list the contents of the directories, just the directories themselves. What is your command? How many directories did you get?
- Write a wildcard to match all files (does not matter the files are in which directory, just ask for the wildcard) named in the following rule: starts with a string image, immediately followed by a one-digit number (in the range of 0-9), and ends with either .jpg or .png. For example, image7.jpg and image0.png should be matched by your wildcard while image2.txt or image11.png should not.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
