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

Modern art, Modern Art : It is typically assumed as the art created from ar...

Modern Art : It is typically assumed as the art created from around 1900 to present, though technically Modern Art only encompasses the art starting along with Impressionism in the

Government and public affairs, For this task, complete the following: Choo...

For this task, complete the following: Choose an example of how the government has impacted public policy. For example: Social Security Act, the Affordable Care Act, the 18th Amen

Security model, SECURIT Y MODEL A computer security model is a system ...

SECURIT Y MODEL A computer security model is a system for identifying and enforcing security policies. A security model may be established upon a formal model of access rights

Cryptography, Cryptography Information protection uses cryptography to ...

Cryptography Information protection uses cryptography to change usable information into a form that renders it ineffectual by anyone other than an official user; this procedure

Weathering, how does granular disintegration occur

how does granular disintegration occur

Agricultural rum and the golden agricultural rum, Question 1: (a) With ...

Question 1: (a) With cut throat competition on the world sugar market and the abolition of the preferential rate it used to benefit from, Mauritius is geared to establish itse

Orthodontic practice, Dr. Tamera Haines is an orthodontist in Lithia Spring...

Dr. Tamera Haines is an orthodontist in Lithia Springs, Georgia, who specializes in providing superior care for adults and children.  She received her Bachelor of Science degree in

Report for owner of store, you work for subway and you want report of what ...

you work for subway and you want report of what sandwichs were sold the most of within 6 months?

White test, What might be a problem with the White test in this application...

What might be a problem with the White test in this application? What is a possible solution? Answer: This test may have some problems when the number of regressors in the initi

Basic informations, i want to about basic informations about pakistani famo...

i want to about basic informations about pakistani famous mousques

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