Question: Perform the following tasks. Effectively use channel rerouting, pipe operator and filter commands (see lecture notes #14-17) a) Given any directory, find out all directories

Perform the following tasks. Effectively use channel rerouting, pipe operator and filter commands (see lecture notes #14-17) a) Given any directory, find out all directories in it (including the hidden ones, or not). b) Given any directory, find out the number of all files (including directories, and all hidden items) in it c) Given any directory, find out the number of all hidden items (files and directories) in it d) Take a screenshot (#3-3) of any one step a) to c) which clearly shows the command you use and the result. e) Find out the first 20 commands executed and recorded in history f) Find all commands in command history that starting with "Is", and save the result to a file. (This will be a bit challenging.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
