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

Flemish bond, advantages and disadvantages of flemish bond

advantages and disadvantages of flemish bond

Business resources, Describe the full range of recruitment documents that a...

Describe the full range of recruitment documents that are used by BSiX in the recruitment and selection of a Learning Centre (Library) Administrator. What documents do you need

Normalization, Could i get some help with a normalization exercise? I don''...

Could i get some help with a normalization exercise? I don''t have much experience and i have to put it into 1NF, 2NF, and 3NF

Explain gender communication, (a) Explain gender communication stating the ...

(a) Explain gender communication stating the different communication styles. (b) Describe how different communication styles of men and women cause problems in relationships.

Describe the various stages in the production of wine, Problem 1: i. Di...

Problem 1: i. Distinguish between Commercial and Institutional Catering. ii. How are cost factors treated in Commercial and Institutional Catering? iii. What kind of Food

Knowledge-Based Decision Support (Intelligent Guidance) Appl, Suggested Pap...

Suggested Paper Outline Organization Description • Overview • Description - Department / Operational Area Studied Detail Definition of Situation / Problem / Opportunity • Backgroun

Branding, examples of provincial brand

examples of provincial brand

Interest charges of credit card, Interest Charges Credit card issuers f...

Interest Charges Credit card issuers frequently put aside interest charges if the balance is paid in full every month, but usually will charge full attention on the whole outst

Culture, how do campaigns affect liberal democracy?

how do campaigns affect liberal democracy?

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