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

Explain max weber''s early life, Question 1 Explain the Conservative React...

Question 1 Explain the Conservative Reaction to the idea of Enlightenment Question 2 Explain Max Weber's early life Question 3 What is the difference between repressive

Environmental responsibility in business, Environmental Responsibility in B...

Environmental Responsibility in Business: In business there are three sources of environmental responsibilities: those needed by law, those demanded by ethics, and those that prot

Demultiplexer, implement full subtractor using demultiplexer

implement full subtractor using demultiplexer

International contract law, do you have an expert in international contract...

do you have an expert in international contract law and CSIG ,THANKS

Marketplace connectivity for asynchronous processes, Marketplace Connectivi...

Marketplace Connectivity for Asynchronous Processes As illustrated in Figure 1, IBM's WCS MPE provides diverse trading mechanisms, such as fixed-price buying, exchanges contrac

Movies play a significant role in entertaining and educating, Movies play a...

Movies play a significant role in entertaining and educating

Science, what is nuclear fission?

what is nuclear fission?

Communication theory as a field, Communication Theory as a Field: In the y...

Communication Theory as a Field: In the year of 1999 Craig wrote a landmark article "Communication Theory as a Field" which expanded the conversation about disciplinary identity i

Security classification for information, Securit y Classification for Info...

Securit y Classification for Information A significant feature of risk management and information security is recognizing the importance of information and defining suitable p

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