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

Fresh produce senescence problem, From the moment a fruit or vegetable was ...

From the moment a fruit or vegetable was harvested from its parent plant, it underwent a process of aging and eventual decay known as senescence. Senescence was marked by two main

Ambulatory surgery program, Maizee Hospital is a 300-bed hospital in Nishin...

Maizee Hospital is a 300-bed hospital in Nishingwa, Montana. It is part of a small investor-owned hospital chain, Corporation of Hospitals of America's Inland Northwest (CHAIN).

Explain Psychopathology, What is Psychopathology? Please explain subject co...

What is Psychopathology? Please explain subject concern to?

Swertres computation, please compute this number 918 for the swertres lotto...

please compute this number 918 for the swertres lotto gam

Language Barrier, How do you overcome language barriers between Pakistan an...

How do you overcome language barriers between Pakistan and Norway?

Managing energy sources.., Looking at the properties in the United Kingdom ...

Looking at the properties in the United Kingdom and Bulgaria from the Hand-in Assignment in Week 2, select one of the regions and conduct an analysis of potential energy suppliers

Visit report, can i get an example of visit to the interesting place report...

can i get an example of visit to the interesting place report?

Describe what is meant by psychotherapy, Problem: a. Describe what is m...

Problem: a. Describe what is meant by psychotherapy? b. Explain three steps that you would normally follow in a counselling process. c. Describe the core principles of th

What are the variables that influence long-term exposure, Exposure to organ...

Exposure to organic dust occurs in a variety of different environments that can be broadly categorized into agricultural environments, industrial environments, office buildings and

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