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

Agricultural rum and the golden agricultural rum, Question 1: (a) With ...

Question 1: (a) With cut throat competition on the world sugar market and the abolition of the preferential rate it used to benefit from, Mauritius is geared to establish itse

Dsp solved problems on parellel form realization of, dsp solved problems on...

dsp solved problems on parallel form realization of iir filters

Legislative frameworks - ethical dilemmas, Choose one of the provided cas...

Choose one of the provided case studies; read the case study and explain the legislative frameworks which may be relevant to this scenario. Include in your discussion reference t

World cinema, World Cinema: World cinema is a term used primarily in Engli...

World Cinema: World cinema is a term used primarily in English language speaking countries to refer to the films and film industries of non-English speaking countries. It is there

Benchmark - information governance, Need help with a 1500 word executive su...

Need help with a 1500 word executive summary that contains the following information: Overview of information governance framework

Different transport modes, Provide some practical examples about different ...

Provide some practical examples about different transport modes

Data mining, datamining data warehouse homework help

datamining data warehouse homework help

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