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

Explain grading techniques along with its advantages, Question 1 Explain g...

Question 1 Explain grading techniques along with its advantages and disadvantages Question 2 What is Block movement method? Explain the process of block movement method

EXCEL , I need help with excel

I need help with excel

Illustrate how george might be counselled, Client: George, 28 year old male...

Client: George, 28 year old male, 2 year technical college degree in air refrigeration and conditioning; twice divorced; no children; three different jobs in 8 years. Problem: I

Humanities, (TCOs 3 & 4) How have changes in technology affected the record...

(TCOs 3 & 4) How have changes in technology affected the recording industry and our understanding of what it means to be a professional musician? How have changes in technology aff

Art criticism, Art criticism involves a specific way of looking at a work o...

Art criticism involves a specific way of looking at a work of art that deconstructs, identifies and interprets the individual elements of its construction. Learning how to criti

Power resorces, desribe the factors ,which influence mining and use of coal...

desribe the factors ,which influence mining and use of coal in pakistan

Electronics, explain working of a crt with the help of block diagram

explain working of a crt with the help of block diagram

Discovery and invention of blue-native page, Discovery and invention of Blu...

Discovery and invention of Blue-Native Page (BN- PAGE) BN- Page is the most efficient non-denaturing gel system which came up with the challenge of separating different kinds o

Explain what is meant by under-insurance, Question: a) Explain what is...

Question: a) Explain what is meant by under-insurance and why clients engage in same? b) Penny Sue insures her car for Rs 500,000 for a one-year period. The market value o

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