Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

  1. 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?

  1. 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke

4th Edition

0136086535, 9780136086536

More Books

Students also viewed these Databases questions