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

Question 1 Write a long note on feature writing and summarise techniques for writing a good feature Question 2 Write a note about building the magazine article Question 3 Writ

QUESTION 1 (a) What are the benefits to Management for dealing with Trade Unions? (b) What measures can be taken to restrict workers in essential services to take industrial

how can i start an action research about student''s tardiness in coming to school or class?

how do i write a paired reading diary

Question 1: (a) Describe deviant workplace behaviour and give three examples of such behaviour. (b) Explain the types of deviances as stated by Bennet and Robinson. (c) Show

Report an example of a euphemism or dysphemism that you have come across. Discuss when it is and is not appropriate to use such veiled language.

Hi, do u help with HYSYS assignment ?

Question 1 Identify and explain the factors that affect migratory movements Question 2 Explain the causes and impact of the Tebhaga Movement Question 3 According to Ambe

Select or design a policy that, in your opinion, would feasibly and effectively provide coverage for the uninsured and underinsured in the United States.