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 and legal issues, Gender and Legal Issues: Gender refers to the per...

Gender and Legal Issues: Gender refers to the personal sexual identity of an individual, regardless of the person's biological and outward sex. How people define masculinity and f

Explain the remedies available under judicial review, QUESTION "It has ...

QUESTION "It has often been said that Judicial Review is the only mean to have judicial control over administrative actions." Discuss the validity of this statement. Expl

Can i be an accountant when doing these subjects, Can I be an accountant wh...

Can I be an accountant when doing these subjects? math lit,business studies,accounting and computer

Library science, what are the challenges faced when cataloguing periodical ...

what are the challenges faced when cataloguing periodical publications?

How does northern renaissance differ from southern, How does the northern r...

How does the northern renaissance differ from the southern renaissance? Do your experts provide northern renaissance and southern renaissance Questions assignment help? I n

Financial Accounting, VK Ltd a multi-product Company, furnishes you the fol...

VK Ltd a multi-product Company, furnishes you the following data relating to the year 2000. First Half of the year Second Half of the year Sales Rs. 45,000 Rs. 50,000 Total Cos

Ict, type of nature of software flowchart

type of nature of software flowchart

Explain the problem emotions and the role of a counsellor, Question: Th...

Question: The experience of growing old will bring with it many emotional and social traumas. These will be lived differently by those concerned and in some cases will need cou

Looking for essay writing service, Are you looking for essay writing servic...

Are you looking for essay writing service? do you need essay writing help with your university pattern and format? We at www.expertsmind.com offer essay writing service with 100%

Measurement tools, Select a specific patient/patient group. Identify the cl...

Select a specific patient/patient group. Identify the clinical problems they may have. Identify an appropriate measurement tools (or more than one tool) that may be used in the ove

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