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

Civic officers, Civic Officers : As per to the United Nations, civil issues...

Civic Officers : As per to the United Nations, civil issues officers intervene to stabilize tumultuous situations in independent nations. Civic staff members are at the forefront a

Features of universal currency, FEATURES of Universal currency Proponen...

FEATURES of Universal currency Proponents argue that DGC presents a accurately global and borderless world currency system which is free of exchange rate variations and politic

For the legalization of marijuana, having trouble starting my research pape...

having trouble starting my research paper need to figure out my premises

Globalization and FDI, I need a 1200 words assignment on FDI in Nigeria .

I need a 1200 words assignment on FDI in Nigeria .

Case Study, Case Study using Replacement Analysis, Incremental analysis, se...

Case Study using Replacement Analysis, Incremental analysis, sensitivity analysis, breakeven analysis, and risk analysis

Money Markets, I need help for answering some questions on Money Markets

I need help for answering some questions on Money Markets

Explain the grief cycle using examples, Grief is a cycle with different sta...

Grief is a cycle with different stages. It is common for people to move back and forth erratically through these stages or even go through the complete cycle several times. It is

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