Question: (Linux) Please create a new Linux command called Dirls which behaves like the ls command but only shows directories. If no path is specified it

(Linux) Please create a new Linux command called Dirls which behaves like the ls command but only shows directories. If no path is specified it lists directories in the current directory, if a path is specified it lists directories in the given directory.

The command should handle the following flags:

(Linux) Please create a new Linux command called Dirls which behaves like

Option Description -1 Show the detailed listing of directories. Show hidden directories. -a Option Description -1 Show the detailed listing of directories. Show hidden directories. -a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!