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

Punchout from procurement systems to wcbe and wcs mpe, Punchout from Procur...

Punchout from Procurement Systems to WCBE and WCS MPE For instance, IBM's Commerce Integrator is a generic framework that enables WCBE and WCS MPE to hold business-to-business

Public speaking, Public Speaking : It is the procedure of speaking to a gro...

Public Speaking : It is the procedure of speaking to a group of people in a, deliberate, structured manner intended to inform, influence, or entertain the listeners. It is allied c

Mechatronics, Do you offer Mechatronics assignment help? I need questions s...

Do you offer Mechatronics assignment help? I need questions solved by expert in Mechatronics engineering assignment. Please let me know soon...

Explain the term tripartism, QUESTION (a) You have just been appointed ...

QUESTION (a) You have just been appointed as the Human Resource Manager in a parastatal body and the Chief Executive Officer has requested you to submit proposals for enhancing

Gender equality, Gender equality: Gender equality, is also known as sex eq...

Gender equality: Gender equality, is also known as sex equality or sexual equality or equality of the genders which implies that men and women should receive equal treatment unles

Internatonal business, need for documents in international business?give su...

need for documents in international business?give suitable exambles

Strategic investment decision-making, In no more than one typed page, provi...

In no more than one typed page, provide a statement of your decision to invest or not invest in this company's stock based on your interpretation of the company's long-term prospec

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