Question: Linux and Bash question 1. Create a command called dls which behaves like ls but only shows direc- tories. If no path is specified it
Linux and Bash question

1. Create a command called dls which behaves like ls but only shows direc- tories. 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 will handle the following flags: Option Description -1 Show the detailed listing of directories. Show hidden directories. -a 1. Create a command called dls which behaves like ls but only shows direc- tories. 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 will handle the following flags: Option Description -1 Show the detailed listing of directories. Show hidden directories. -a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
