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

1, itoy serbisyo at ahensya ng tubig

itoy serbisyo at ahensya ng tubig

CRIMINAL LAW, Mark ‘Snodgrass’ Chapman (Snodgrass) is leader of the Victori...

Mark ‘Snodgrass’ Chapman (Snodgrass) is leader of the Victorian chapter of the Grim Reapers Motorcycle Club, an outlaw motorcycle gang. The gang gets its money acting as a debt col

Gothic architecture, Gothic architecture: In Europe Architectural style th...

Gothic architecture: In Europe Architectural style that lasted from the mid 12th century to the 16th century, specifically a style of masonry building characterized by cavernous s

Types and categories of rhetorical criticism, Types/Categories of Rhetorica...

Types/Categories of Rhetorical Criticism It is not an exhaustive listing of the particular types or genres of rhetorical criticism, but generally these are the ones discussed

Functions of human skeleton, Functions of human skeleton: Human skeleto...

Functions of human skeleton: Human skeleton performs some important functions that are necessary for survival of human beings. STRENGTH, SUPPORT AND SHAPE: PROTECTION

OK, WHEN WERE AFRICAN AMERICANS REMOVED FROM OFFICE IN GEORGIA .

WHEN WERE AFRICAN AMERICANS REMOVED FROM OFFICE IN GEORGIA .

Contemporary and postmodern art, Contemporary and Postmodern Art: Generall...

Contemporary and Postmodern Art: Generally, contemporary art is described as any form of art in any medium that is generated in the present day. Though, within the art world the t

Write a long note on shooting in daylight, Question 1 Write a long note on...

Question 1 Write a long note on the Camera Control Unit (including partial CCU control and complete remote camera control) and the Video switcher Question 2 Write a long note

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