unix, Other Subject

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
Posted Date: 5/5/2012 11:03:17 AM | Location : United States

Related Discussions:- unix, Assignment Help, Ask Question on unix, Get Answer, Expert's Help, unix Discussions

Write discussion on unix
Your posts are moderated
Related Questions

Client: Miranda 30 year old female, completed her higher school certificate at the age of 19, and is now a housewife. She married a foreigner and has two children, the elder a son

The point of the paper is to show that you understand the reading, and evidence your understanding by using the ideas of the authors we have encountered.  To write an "A" Paper,

You are to design a 2016 presidential campaign for Hillary Clinton. Consult the INTERNET for background material. 1) Determine what the theme will be for the campaign 2)

How does an understanding of group work and team building assist in increasing organizational performance? Use examples from theory and practice to illustrate your answer.

why is health more than just the absence of disease

Functions of the Automotive Compound The compound is the distribution centre for cars/SUV/light trucks (generic term is Automotive-Product: AP). The APs destined for the Great

what are glands present in the tunica mucosa of the stomach, small intestine and large intestine ?

Question 1 Explain meaning of technical writers and also explain its role Question 2 What is Audience Analysis? Explain its significance in Technical Communication Question 3

Weber could see the advantages of industrial capitalism, and he was optimistic about the future. but he thought it would never actually develop. but he thought workers wou