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

Anthropology, Provided an example of secondary social group.

Provided an example of secondary social group.

Economic geography, Economic Geography: In Economic Geography, we study th...

Economic Geography: In Economic Geography, we study the (locational, organizational and behavioral) principles and processes associated with the spatial allocation of scarce (huma

Meteorology vs. climatology, Meteorology vs. Climatology: Meteorology and ...

Meteorology vs. Climatology: Meteorology and Climatology are two terms that seem to have the same meaning but strictly speaking there is difference between the two terms. Climatol

Give me liberty, The textbook states, “Prejudice by itself did not create A...

The textbook states, “Prejudice by itself did not create American slavery.” Examine the forces and events that led to slavery in North America, and the role that racial prejudice p

Law, why we study law

why we study law

PHED final exam, FINAL PRACTICUM EXAM Read your exam directions carefully t...

FINAL PRACTICUM EXAM Read your exam directions carefully two and three times, please, all the information you will ask questions about are written here. As an individual, you ar

Valuation of the bidding object, Problem: As in class there is some set N o...

Problem: As in class there is some set N of bidders in an auction of one object, which the seller of the object can deliver at 0 cost. Suppose each bidder is valuation of the objec

Epic poetry, Epic Poetry: It is poetry that has a broad theme, substantial...

Epic Poetry: It is poetry that has a broad theme, substantial length, a broad setting, and several other characteristics that make it seem "larger than life" while compared to oth

PROFESSIONAL DEVELOPMENT, hi i had ask two questions to interviewee related...

hi i had ask two questions to interviewee related to my topic that is conducting job interviews structure, approach and resumes and the questions are 1. What type of interview str

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