Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started