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 the various stages in the production of wine, Problem 1: i. Di...

Problem 1: i. Distinguish between Commercial and Institutional Catering. ii. How are cost factors treated in Commercial and Institutional Catering? iii. What kind of Food

Psychology life span and development, In this section we look at a form of ...

In this section we look at a form of thinking that goes beyond Piaget''s final stage. Considering that many people do not even achieve formal operational thinking, it might seem od

Characteristics of drivers - overtaking maneuvers, Characteristics of Drive...

Characteristics of Drivers - Overtaking Maneuvers Lunenfeld and Alexander (1990) consider the driving task to be a hierarchical process, with three levels: (1) Control,

What is, technological interconnectedness

technological interconnectedness

I need help, Hey how big is 50mm x 15mm??

Hey how big is 50mm x 15mm??

Factors will you keep in mind while planning for a library b, factors will ...

factors will you keep in mind while planning for a library building

Write a long note on the editing process, Question 1 Write a long note on ...

Question 1 Write a long note on the Editing Process Question 2 What does adding pictures to a page with news stories do? Discuss in detail Question 3 Write a note

PHED final exam, FINAL PRACTICUM EXAM Read your exam directions carefully t...

FINAL PRACTICUM EXAM Read your exam directions carefully two and three times, please, all the information you will ask questions about are written here. As an individual, you ar

NXC C programs, A description of each function used in the program. Theree...

A description of each function used in the program. Theree programs: /* HiTechnic Experimenter''s Kit Program Experiment - 6 Reaction Time Measurement This program measures t

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