Loading
Status: Live
Write a simple shell in C that includes concepts like process execution, pipes and forks.
Date Posted: 19/02/2019
Category: Computer Science
Due Date: 24/02/2019
Willing to Pay: $40.00
Instruction
Write a simple shell in C that includes concepts like process execution, pipes and forks. A simple base coded will be provided, however, additional features need to be added like: Support for a foreground and single background process simultaneously Support for I/O redirection (stdin, stdout, stderr) and piping between two programs Catching and handling signals. The provided base code will compile and run a simple shell program. It demonstrates the basic concept of a shell program. However, it lacks some important features: You cannot change directories in your shell. Changing directories is a shell built-in command (EC option). Executables may be stored anywhere on your computer. For example, the program cat may be located in /bin/cat while grep may be located in /usr/bin/grep. You never have to specifically type /bin/cat though. The reason for this is that your shell will automatically search common paths for programs. As such your shell can only run programs which are located within the specified PATH directory or the current directory (where your shell program was run from). In general, you may use almost any standard library function or system call to complete this project apart from the system(3) function which is effectively a wrapper for a shell and is not allowed. Speaking more broadly, any library function or system call that is effectively a wrapper for another shell shouldn't be used.
Tutor Uploads
No File uploaded yet.
Bidders
25
Average bid
$74.2
Rated 9.62 earned 167441.46 around 5727 assignments.
$100.00
Rated 9.09 earned 173004.84 around 5373 assignments.
$50.00
Rated 9.31 earned 20275.23 around 727 assignments.
$40.00
Rated 9.32 earned 72394.50 around 2719 assignments.
$80.00
Rated 9.21 earned 72594.35 around 2073 assignments.
$100.00
Rated 8.98 earned 50856.21 around 1767 assignments.
$75.00
Rated 8.6 earned 16849.88 around 514 assignments.
$50.00
Rated 9.62 earned 31309.85 around 955 assignments.
$100.00
Rated 9.35 earned 20635.33 around 549 assignments.
$150.00
Rated 6.67 earned 255.00 around 13 assignments.
$60.00
Rated 8.95 earned 1113.00 around 44 assignments.
$110.00
Rated 9.22 earned 30568.25 around 759 assignments.
$40.00
Rated 9.44 earned 21955.32 around 740 assignments.
$150.00
Rated 9.89 earned 11111.78 around 390 assignments.
$40.00
Rated 9.36 earned 11670.86 around 435 assignments.
$40.00
Rated 9.51 earned 22575.94 around 757 assignments.
$100.00
Rated 9.41 earned 74446.20 around 2431 assignments.
$40.00
Rated 9.56 earned 19928.44 around 620 assignments.
$100.00
Rated 9.62 earned 32617.83 around 863 assignments.
$40.00
Rated 9.58 earned 36217.89 around 1195 assignments.
$40.00
Rated 9.47 earned 46598.98 around 1410 assignments.
$80.00
Rated 9.54 earned 25983.04 around 898 assignments.
$40.00
Rated 9.04 earned 17105.49 around 504 assignments.
$150.00
Rated 9.37 earned 62524.46 around 2184 assignments.
$40.00
Rated 9.46 earned 7663.35 around 269 assignments.
$40.00