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

Socio-economic development., utilising practical examples from developing c...

utilising practical examples from developing countries examine the ways in which informalization of the economy can impact on a nation''s socio-economic development

Social, why does level development different m one country to anothrfro

why does level development different m one country to anothrfro

Lanthinides contraction, how i present my assignment on lanthinides contrac...

how i present my assignment on lanthinides contraction nd give me ideas on it

Research methods in criminal justice, You are doing well! The chief of poli...

You are doing well! The chief of police continues to be impressed with your work. He has hired you again to extend your independent internal review, this time to study policies and

Perform a goldfeld-quandt test, Perform a Goldfeld-Quandt test for heterosk...

Perform a Goldfeld-Quandt test for heteroskedasticity under the assumption the variance of the error increases with population density. Attach your results, and write out the form

Explain the underlying pathophysiology, Derek Smith, a 75 year old male, ha...

Derek Smith, a 75 year old male, has been admitted to the medical ward with pneumonia. He has been feeling generally unwell and coughing for the past two weeks. When you

Sentence correction, Hello, I would like to know the below quoted sentence ...

Hello, I would like to know the below quoted sentence is correctly framed or is there any mistake. "I don’t look anything required by us"

REGULAR GRAMMAR, Find the Regular Grammar for the following Regular Express...

Find the Regular Grammar for the following Regular Expression: a(a+b)*(ab*+ba*)b.

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

difference in respiratry system in mammals,reptilia and amphibian?

Difficulties in accessing health services, Difficulties in Accessing Health...

Difficulties in Accessing Health Services in Rural Areas and Remote Australia Health facilities in rural areas and remote Australia are mostly inaccessible because they are lo

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