unix, Other Subject

Assignment Help:

1. Write a script called “myls” that will perform similarly to how the ls command does.
Start by making myls print out all files in the present directory.
2. Next, make the script print out all files in a different directory.
3. Next, make the script prompt the user to enter a directory (interactively) and print all
files in the specified directory.
4. Now, enhance the script so that it will print * beside each executable file in the
directory, and d beside directories. It should also print out the read/write permissions
as r and w (if you have them – if not, it should just print a - instead).
5. Finally, to make your myls that much more professional looking, modify it so that it
will take the directory as a command line argument, rather than an interactive prompt.
In other words, you should be able to run it as:
./myls /home/instructor/file

Related Discussions:- unix

Promotion of product, how to make an assignment of promotion of product

how to make an assignment of promotion of product

Overtaking maneuvers on single carriageway, Overtaking Maneuvers on Single ...

Overtaking Maneuvers on Single Carriageway The study circle around the overtaking maneuvers on single carriageway road section. The condition of the road sections must fulfill

Geomorphology, Geomorphology: Geomorphology is defined as the science of l...

Geomorphology: Geomorphology is defined as the science of landforms with an emphasis on their origin, evolution, form, and distribution across the physical landscape. An understan

Businees management, #questi VK Ltd a multi-product Company, furnishes you ...

#questi VK Ltd a multi-product Company, furnishes you the following data relating to the year 2000 First Half of the year Second Half of the year Sales Rs. 45,000 Rs. 50,000 Total

Basic principles of information security - risk management, Risk Manageme...

Risk Management Security is everyone's responsibility. Security awareness poster. U.S. Department of Commerce/Office of Security. A complete treatment of the topic of risk

Timber, what is timber defects

what is timber defects

Online Tutoring, I want to teach online and submit writing works for others...

I want to teach online and submit writing works for others. I''m proficient in English with good writing skills. Have done my specialisation in Brand Communication and a Digital Ma

Hekasi, banal na libro ng mga muslim?

banal na libro ng mga muslim?

Fire prevention, introduction topic for fire prevention

introduction topic for fire prevention

Objectives of selection and recruitment process, what are the objectives of...

what are the objectives of selection and recruitment process

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd