Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1) Create a Bash script which will take a single command line argument (a directory) and will print each entry in that directory. If the
1) Create a Bash script which will take a single command line argument (a directory) and will print each entry in that directory. If the entry is a file it will print it's size. If the entry is a directory it will print how many items are in that directory.
2) Create a Bash script which will take 2 numbers as command line arguments. It will print to the screen the larger of the two numbers.
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