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

Gender discrimination, Gender Discrimination: Discrimination based on gend...

Gender Discrimination: Discrimination based on gender leads to inequality and harassment in the workplace, schools, in the justice system and in other areas of society. Discrimina

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

Speech writing, You are required to select a thought-provoking philosophica...

You are required to select a thought-provoking philosophical, literary, political, spiritual quotation to use as the basis for a short prepared speech. You may not use lines from t

Virtual terminal, VI R TUA L TERMINAL In open systems, a virtual te...

VI R TUA L TERMINAL In open systems, a virtual terminal ( VT ) is a submission service that: 1.   Allows host terminals on a multi-user network to work together with ot

Roman history, Roman History: It spans a thousand years and covers not onl...

Roman History: It spans a thousand years and covers not only the Mediterranean region, but Europe to the British is less, northeast to the Danube River, and eastward through Asia

Hindi, difference in respiratry system in mammals,reptilia and amphibian?

difference in respiratry system in mammals,reptilia and amphibian?

ICP-AES, What does it means Ar, Monitorline like instrumental parameters fo...

What does it means Ar, Monitorline like instrumental parameters for ISP-AES? Thank you in advance!

Distinguish adolescence thinking from mature thinking, Question: a) Wh...

Question: a) What are the major characteristics that distinguish adolescence thinking from mature thinking? b) 'Adolescence is often described as a period of storm and 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