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

Enviromental, Ask question #Mprinciple of working from whole to parrinimum ...

Ask question #Mprinciple of working from whole to parrinimum 100 words accepted#

Compilation time, how can i determine total compilation time without using ...

how can i determine total compilation time without using gantt charts

Current event assignment , Assignment must be typed. Assignment must not be...

Assignment must be typed. Assignment must not be longer than two pages. Assignment: Locate a current case or factual situation in the news which involves a tort.In narrative for

AC Machines, identify two categories of protection which are required for t...

identify two categories of protection which are required for three phase mototrs installed in a factory workshop environment?

Voice translater topic, sir my quistion is,i want to project about english ...

sir my quistion is,i want to project about english voice translate into hindi voice.

Consumer protection, CONSUME R PROTECTION ' Consume r protection' is...

CONSUME R PROTECTION ' Consume r protection' is an outline of administration regulation which protects the benefit of consumers. For instance, a government may require busin

Geography, I do not understand grid co-ordinates at all... I need more help...

I do not understand grid co-ordinates at all... I need more help and work on my geography so if you really helped i would be grateful.

M-commerce, WHAT IS M-COMMERCE? M-commerce or mobile commerce is the bu...

WHAT IS M-COMMERCE? M-commerce or mobile commerce is the buying and selling of services and goods through wireless technology- i.e. handheld devices such as and personal digita

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