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

Meteorology, Meteorology: Meteorology is the interdisciplinary scientific ...

Meteorology: Meteorology is the interdisciplinary scientific study of the atmosphere. Studies in the field stretch back millennia, though significant progress in meteorology did n

Relate selected global efforts in information system, Write a 3-5 page rese...

Write a 3-5 page research paper exploring 3-5 topics regarding global efforts in the information systems industry. The paper needs to clearly identify the global topics, how it''s

Advantages of internet - entertainment, Entertainment: Entertainment is...

Entertainment: Entertainment is an additional popular reason for why a lot of people have a preference to surf the Internet. In fact, media of internet has become relatively su

Earths crist, How does the mantle interact with the earths crust?

How does the mantle interact with the earths crust?

Advantages of using electronic data interchange , Advantages of using EDI o...

Advantages of using EDI over paper systems EDI and other related technologies keep company money by providing an option to, or replacing information flows that need a great dea

Human nutrition, Human nutrition is a very vast and profound topic that has...

Human nutrition is a very vast and profound topic that has always been extensively taught and read about in every part of the world. Considering man to be the most developed being

Visual art of the united states, Visual art of the United States: Visual a...

Visual art of the United States: Visual arts of the United States refer to the history of painting and visual art in the United States. In the late eighteenth and early nineteenth

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