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

American government, The division of political power between the states and...

The division of political power between the states and the national government has been a continuing source of conflict throughout American history. Write an essay on this controve

Gum infection, A 28 year old woman was visited by her GP.  She had been com...

A 28 year old woman was visited by her GP.  She had been complaining of general malaise for some days, and now appeared flushed and was sweating.  She had developed several bruises

Music 101, Ask que Question 1 An important event during the Renaissanc...

Ask que Question 1 An important event during the Renaissance was the development of printing from movable type. True False stion #Minimum 100 words accepted#

Family life education, what are the role of the teacher the visualiser of t...

what are the role of the teacher the visualiser of the role of school in imparting family education

Critical stage of the policy process, Question 1: "Public Policy gives ...

Question 1: "Public Policy gives one a better understanding of what governments do, why they do what they do and what difference public policy makes to the lives and circumstan

Research Critique Part 1, Ask Prepare a critical analysis of a qualitative ...

Ask Prepare a critical analysis of a qualitative study focusing on the problem statement, study purpose, research question, literature review, and theoretical framework. This can b

How would define creativity, QUESTION 1 (a) Write a paragraph on each o...

QUESTION 1 (a) Write a paragraph on each of the under mentioned facets of the Psyche according to Freud i.The Id ii.The Ego iii.The Superego (b) Explain how the con

Humanities , what happen to the ukrainians and combodians?

what happen to the ukrainians and combodians?

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