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

Working of livelink and sql server, Working of Livelink and SQL Server: ...

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

Environment, a assignment on concept of environment

a assignment on concept of environment

Interest charges of credit card, Interest Charges Credit card issuers f...

Interest Charges Credit card issuers frequently put aside interest charges if the balance is paid in full every month, but usually will charge full attention on the whole outst

Soa fap, do you provide any help for the SOA FAP papers?

do you provide any help for the SOA FAP papers?

Explain the facts and figures about tourism, Question 1 Explain the facts ...

Question 1 Explain the facts and figures about Tourism Question 2 What are the key factors responsible for the growth of organised retailing? Question 3 Explain the func

Education and society, what are the factors affecting wastage and stagnatio...

what are the factors affecting wastage and stagnation

Analog tester, what is the meaning of meter scale that is part of analog te...

what is the meaning of meter scale that is part of analog tester?

Land survey, What is the correction for bad ranging?

What is the correction for bad ranging?

Advanages of internet - communication, Advantages Communicatio n : ...

Advantages Communicatio n : The leading target of internet has forever been the communication. And internet has excelled away from the expectations .Still; innovations are

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