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

CRJ422: Criminal Justice Capstone (BLM1716A), Journal Article Critical Anal...

Journal Article Critical Analysis Utilizing the information gained from your reading of Chapters 4 and 5 of the text, critically analyze one of the scholarly articles found in The

I need help, Hey how big is 50mm x 15mm??

Hey how big is 50mm x 15mm??

Database, how to do database project

how to do database project

Global supply chain management, identeify one process your organization is ...

identeify one process your organization is involved in. this may be a service operation. a)Develop a process map (flow chart) for this process these may be in inform of delays, err

Leo Tolstoy?, Hello, I am writing to inquire about an English phrase I''ve ...

Hello, I am writing to inquire about an English phrase I''ve heard once. What does it mean to go Anna Karenina on someone? Thank you in advance for answering my question.

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

Differentiation;simulation in Berkeley Madonna, I would like to know if I c...

I would like to know if I can get help with differentiation of equations, and how to write equations in Berkeley Madonna (the second is not so important)?

#title., Weber could see the advantages of industrial capitalism, and he...

Weber could see the advantages of industrial capitalism, and he was optimistic about the future. but he thought it would never actually develop. but he thought workers wou

Types of relationships, Types of relationships: A relationship is normally...

Types of relationships: A relationship is normally viewed as a connection between individuals, such as a romantic or intimate relationship, or a parent-child relationship. Individ

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