How Software Gets Done  

(No Login on Secured Page)

Custom Software Buyers
Request new bids
Search Coders
My Account
My Buyer 'To Do' List
My bid requests
  My escrow account
My General Info
Help for Buyers
Articles for Buyers
FAQ for Buyers
Latest News

Custom Software Coders

Newest open work
Browse all work
Search all work
My Account
My Coder 'To Do' List
My bids
My General Info
  My credit account
Help for Coders
Articles for Coders
FAQ for Coders
Latest News


My account
My pipeline
My credit account
Help for Affiliates
Latest News
Newest Open Bid Requests.
Message Board, Faq's, and Rating system
By innovate on May 7
Max Bid: Open to fair suggestions

OpenGL Game in C++
By softlancer2003 on May 7
Max Bid: $20

Connect .asp to ms access
By inet29 on May 7
Max Bid: $10

DVD UDF ISO9660 project
By eric_55555 on May 7
Max Bid: $300

W2000 Server Bandwidth Limitation
By efp on May 7
Max Bid: $10

ASP mailer with read reciept
By walla on May 7
Max Bid: Open to fair suggestions

Click here to put this ticker on your own site

Open Work Categories.
(141 open)
(63 open)
(81 open)
(11 open)
   SQL Server 
(49 open)
   Other DB 
(16 open)
Documentation / Tech Writing 
(32 open)
Data Entry 
(17 open)
Game Development 
(19 open)
Graphics / Art / Music 
(35 open)
(51 open)
     3d Animation 
(11 open)
   Art (Misc.) 
(16 open)
(4 open)
   3d Modeling 
(5 open)
Language Specific 
(108 open)
(70 open)
(34 open)
   C++ / C 
(103 open)
   Cocoa / Obj-C 
(2 open)
   Cold Fusion 
(3 open)
(32 open)
(56 open)
(35 open)
(91 open)
(24 open)
   Visual Basic 
(139 open)
   Visual Basic .Net 
(69 open)
(46 open)
(33 open)
(3 open)
(29 open)
(46 open)
   Network Design 
(12 open)
   Network Implementation 
(16 open)
(68 open)
(158 open)
     MS Exchange 
(2 open)
     MS Office 
(8 open)
(10 open)
   Internet Browser 
(39 open)
(50 open)
(24 open)
   Hand Held/PDA Programming 
(10 open)
(15 open)
(40 open)
Testing / Quality Assurance 
(19 open)
(152 open)
   Page Design 
(78 open)
(47 open)
   Web Services 
(75 open)
   Web (Other) 
(77 open)
(12 open)
   Computer Based 
(16 open)
Other Sites

Download the free Rent A Coder IE toolbar!
Show Bid Request

unix shell in C
Bid Request Id: 2923
Bookmark in my 'To Do' list
Posted by: aboulbeeb (0 ratings)
Non-action Ratio: Very Good - 0.00%
Posted: Sep 24, 2001
9:26:18 PM EDT
Bidding Closes: Oct 26, 2001
9:27:22 PM EDT
Viewed (by coders): 365 times
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: C++ / C, UNIX
Enter chat room for this bid request
(0 active users at May 7, 2003 7:47:31 PM EDT)

Your program should prompt for input from its stan­dard input. (Use the prompt "##" to avoid confusions.) Every line of input will represent a single command. It will consist of a sequence of arguments separated by an arbitrary number of spaces. The first of these arguments will either be the keyword background or the name of a program to be executed.

All other arguments are to be passed to that program according to the standard UNIX conventions. An error message should be returned every time that an inaccess­ible program file has been specified in the input line.

Your shell should be able to handle background proc­esses and pipes:

· Background processes: Any process whose com­mand line starts with the keyword background as in

background gcc bigprogram.c

should be executed in the background; that is, its standard input and stan­dard output should be closed and the shell should not wait for its completion.

· Pipes: If a command line includes a “|“ then it will contain two commands: the output of the command before the “|” should become the input of the command after the “|” as in an UNIX pipe:

ls -alg | more
who|wc -l
grep = bigprogram.c |more

Your shell should handle internally three process con­trol commands:

1. history n, which lists the last n executed commands: if your shell executed less than n commands, history should just prints these commands. Your list should have each line numbered starting with one as in:

1. ls -alg
2. date
3. who
4. …

2. repeat, which prints on the screen and executes the previous command,

3. exit, which kills all background processes your shell has forked and terminates it.

1. With the exception of the pipe symbol (|) there is no need to treat the special characters and meta­charac­ters of /bin/sh and /bin/csh in any special way.

2. Do not worry about signals.

3. You are required to use execvp().

4. Note that the pipe symbol will not be always surrounded by spaces.

1. Before you start your assignment, familiarize your­self with the UNIX functions fork(), wait(). execvp(), dup(), exit(), _exit() and kill(). Use the man command for that purpose.

2. You will find that the command cd will not work properly (but the fix is very simple). Remember that UNIX functions normally return a zero value when they are successful

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

Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
Date   Coder Rating  
This bid was accepted by the buyer!
Team Sgreen
(35 ratings)
in Halifax, Nova Scotia
Bid id: 24,647
$50 (USD) Sep 25, 2001
7:46:25 PM EDT
I got your private message. I will get started immediately, just accept my bid so I can get it to you before sept 29th.


Quick Search

 Advanced Search
Newest Open Work
Latest News



Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.

Rent A Coder Top Coders.

Anuj Gakhar
Rated a 9.98 on 92 jobs 
Rated a 9.98 on 97 jobs 
Rated a 9.82 on 76 jobs 
Rated a 9.97 on 137 jobs 
Andrei Remenchuk
Rated a 10 on 12 jobs 
Michael Sharp
Rated a 9.98 on 167 jobs 
Rated a 9.93 on 67 jobs 
Rated a 9.93 on 35 jobs 
Rated a 10 on 109 jobs 
Rated a 10 on 21 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:


Affiliate Sites

Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.