Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help me out in the scripting. I am totally new and want to learn about it. 2. Extend the myls or myls2 shell scripts

Please help me out in the scripting. I am totally new and want to learn about it.

2. Extend the myls or myls2 shell scripts to list the files in a different directory from the current directory, such as /usr/local. The script should still output the name of all the files in the directory.

3. Enhance the script you wrote for Exercise 2 to place the name of the directory in a variable and access the variable in the for loop.

4. Enhance the script you wrote for Exercise 3 to ask the user for the name of the directory to list.

5. Enhance the script you wrote for Exercise 4. This new script should ask the user the directory to list and then should output / after directory names and * after executable files. Do not output * if the file is a directory (and has execute permissions on the directory).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Object Oriented Deductive Hypermedia Technologies

Authors: Kamran Parsaye, Mark Chignell, Setrag Khoshafian, Harry Wong

1st Edition

0471503452, 978-0471503453

More Books

Students also viewed these Databases questions

Question

5. Explain how ERISA protects employees pension rights.

Answered: 1 week ago

Question

8. Describe the main retirement benefits.pg 87

Answered: 1 week ago