Beginners UNIX/Linux project

Completed Posted Apr 18, 2004 Paid on delivery
Completed Paid on delivery

Write all scripts in bourne shell.

Use echo statements AND comments in your scripts.

2. Write a shell script that takes in any number of command line arguments, but quits

when a zero (0) is found.

Example:

[url removed, login to view] 1 2 3 0 4 5 6 t y u i i

[url removed, login to view] should echo out each command line argument, and quits when a zero is found.

Also, echo out that it is exiting because the zero was detected.

3. Write a script that must take in one command line argument, which will be the name

of a directory or file in the current working directory.

Tell me whether it is a file or directory that was put in on the command line.

If it is a file, tell me if the file length is zero or greater.

If it is a directory, tell me if the direcory is writable and readable by the

process.

If you cannot find the command line argument, tell me.

4. Write a script that asks the user for integer values, one at a time. Add up the

integers and print the current total, before prompting for the next integer. The

script will work until a Control-D is detected. Once Control-D is detected, print

the final total.

All of the above scripts should be well documented and the code should as simple (a beginner should be able to understand it) as possible.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

UNIX Bourne shell

Engineering Linux MySQL PHP Software Architecture Software Testing UNIX

Project ID: #3177345

About the project

3 proposals Remote project Active Apr 18, 2004

Awarded to:

huami

See private message.

$12 USD in 1 day
(3 Reviews)
1.5

3 freelancers are bidding on average $30 for this job

thirdrail

See private message.

$34 USD in 1 day
(104 Reviews)
6.0
unixrovw

See private message.

$42.5 USD in 1 day
(20 Reviews)
4.1