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
Working of Livelink and SQL Server: Project Name : Livelink- Thomsonfly Airways, UK Airline Role : Day to day interaction with Clients and vendor at Client Location. Pre

what is the regime for post op vital signs

The molecular fromulas and structures of the sugars called glucose and fructose can be used to illustrate which of the following concepts? A. IONS B.ISOTOPES C.ISOGENS D.ISOMERS

Advantages of an online library system: I need to prepare a report on Advantages of an online library system. Do you and your experts provide help in topic Advantages of an online

The research assignment aims to enable students to practice, develop and demonstrate their research and legal analysis skills. These skills will become more highly tuned throughout


how to do a cross numbers puzzle

How is an EMS structured? Like most EMSs, the NIEHS EMS follows the Plan-Do-Check-Act structure provided by the ISO 14001 EMS Standard. This involves a five-step process that a

Question 1 Discuss the Working Journalists (Fixation of Rates of Wages) Act, 1958. (Act mentions 8 points. There are 3 other subdivisions Question 2 Write a note on the ethos

why did African American''s migrate TO united states?