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

Electronic bill presentment and payment, Electronic Bill Presentment and Pa...

Electronic Bill Presentment and Payment Electronic bill presentment and payment (EBPP) is a practically latest technique that allows consumers to view and pay bills electronica

Safety Homework help, I have a homeworks to be done from a safety textbook....

I have a homeworks to be done from a safety textbook. All that needs to be done is to read the chapter and answer the questions at the end of the book usually 20 questions per chap

Looking for essay writing service, Are you looking for essay writing servic...

Are you looking for essay writing service? do you need essay writing help with your university pattern and format? We at www.expertsmind.com offer essay writing service with 100%

Inter-cultural competent counsellors in schools, Problem 1: (a) With r...

Problem 1: (a) With reference to relevant literature and / or theory, explain what is meant by counselling. (b) Justify six key reasons why secondary institutions shoul

Reflecting on Personal Identity and Global Citizenship, Reflecting on Perso...

Reflecting on Personal Identity and Global Citizenship Review the Global Education and Global Citizenship video and read the article “A Model of Global Citizenship: Antecedents an

Greek art, Greek Art: Greek art (or, more properly, art in Greece) started...

Greek Art: Greek art (or, more properly, art in Greece) started in the Minoan and Cycladic pre-historical civilizations, and origin of Western classical art in the subsequent Geom

Aerospace, How to Product on Aeroplane

How to Product on Aeroplane

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