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

Describe the types of personal protective equipment, Question 1: (a) D...

Question 1: (a) Describe the types of personal protective equipment and clothing that can be used to avoid or minimise injuries to workers. (b) List five essential points

Constitutonal law, How does being a market participant affect the right of ...

How does being a market participant affect the right of a state to discriminate against out-of-state businesses

Discuss the causes of absenteeism taking into account, Problem: (a) Def...

Problem: (a) Define absenteeism and explain briefly how according to you it can cause problems at the workplace. (b) Critically discuss the causes of absenteeism taking into

B.ed assignment, aim of education in present scenario

aim of education in present scenario

Prepaid credit cards, Prepaid "Credit" Cards A prepaid credit card is n...

Prepaid "Credit" Cards A prepaid credit card is not a credit card, while no credit is presented by the card issuer: the card-holder spends money which has been "stored" by mean

Business process orientation (bpo), BUSINESS PROCESS ORIENTATION (BPO) ...

BUSINESS PROCESS ORIENTATION (BPO) The idea of BPO is used consistently with Server markets. The idea of business process orientation (BPO) is stand upon the work of Deming (Wa

Fst, broad area of scientific activity

broad area of scientific activity

B.Ed, What is pragmatism and what should be the role of teacher according t...

What is pragmatism and what should be the role of teacher according ti it.

Implied paragraph, I need to write a paragraph about fast food and not unde...

I need to write a paragraph about fast food and not understanding implied main ideas

Analyse the changing relationship, Problem 1 (a) What are the factors i...

Problem 1 (a) What are the factors in the social environment leading to increased business criticism? (b) How does this impact on the social contract? Problem 2 'On

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