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
what is the main difference between the two types of balances of art ?

Major Sociological Theories of Gender: Each major sociological framework has its own views and theories regarding gender and why gender inequality exists. Feminist theorists also

what is on the license plate and why

tesco supermarks organisational behavior trends and stratiges

Major Perspectives in Sociology: Sociologists analyze social phenomena at different levels and from different perspectives. From concrete interpretations to sweeping generalizatio

role of school ,parents and peers imparting family life education

time driven scheduling for real time operating systems report

how do campaigns affect liberal democracy?

i want the big introduction to islam

Question 1: (a) With reference to literature and/or theories, explain what is meant by counselling. (b) Show six characteristics which counsellors display while conducting c