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

Describe how ndi can be beneficial in photography, Question 1: (a) Brie...

Question 1: (a) Briefly describe the term Printing. (b) Name three sources from where the transfer of images is done. (c) The use of digital printing and integration of t

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

Explain the importance of friendship and peer relationship, Peer Acceptance...

Peer Acceptance refers to the social status or popularity within a large group whereas friendship represents relationships based on mutual respect, appreciation and liking. Peer ac

Health breakdown and nursing practice, The purpose of this assessment is to...

The purpose of this assessment is to demonstrate knowledge of scientific concepts and be able to apply this knowledge to health breakdown and nursing practice. Case study Joh

24*7 OPERATIONS, I NEED SWOT analysis on 24*7 business operations

I NEED SWOT analysis on 24*7 business operations

Math, #questsion.4b,3b,b is it variables, like terms, constants, or coeffic...

#questsion.4b,3b,b is it variables, like terms, constants, or coefficient?

Sample of a good academic project proposal , Example Project Proposal ...

Example Project Proposal   Title   A Database System to Record Compliance with Software Licence Agreements. Introduction The area of software licensing has becom

Early anthropological theory, Early Anthropological Theory- exemplified by...

Early Anthropological Theory- exemplified by Edward Tylor (1832 - 1917). Tylor was a Quaker, with no formal university training, who traveled Mexico from 1855-56, began publishing

Goverment, Forming a strong political _________________________ without for...

Forming a strong political _________________________ without forming an equally sound understanding of politics could lead to making unwise choices in the voting booth.

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