Encerrado

Writing A Simple Shell

Project - UNIX Shell and History Feature

This Project consists of modifying a C program which serves as a shell interface that accepts user commands and then executes each command in a seperate process.

## Deliverables

A shell interface provides the user a prompt after which the next command is entered. The example below illustrates the prompt sh> and the user's next command: cat prog.c This command displays the file prog.c on the terminal using the UNIX cat command.

sh> cat prog.c

One technique for implementing a shell interface is to have the parent process first read what the user enters en the command line and then create a seperate child process that performs the command. Unless otherwise specified, the parent process waits for the child to exit before continuing. UNIX shells typically also allow the child process to run in the background -or concurrently- as well by specifying the ampersand (&) at the end of the command. By rewriting the above command as

sh> cat prog.c &

the parent and child process now run concurrently.

The seperate child process is created using the fork() system call and the user's command is executed by using one of the system calls in the exec() family.

-------------------------------

I copied this text from the lecture book. It was the entry part of project page. The book is : Operating System concepts 7'th edition. Silberschatz, Galvin, Gagne ISBN:0-471-69466-5 pg:121

--------------------------------

This project is organized into two parts

1- creating the child process and executing the command in the child

2- modifying the shell to allow a history feature.

Note: I need to all of the source code parts must be explained. For example you can take a screen shot of code and with arrows you can explain that tis parts for this, thsi part is for this bla bla...

Thanks.

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

Linux Open Suse 10.2

Habilidades: Vale Tudo, Programação C, Engenharia, Linux, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: writing prompt, writing programming in c++, writing next, writing concepts, writing background, writing a will, writing a bid, what is writing process, what is writing code, what is the writing process, what is server side programming, what is a writing prompt, web programming concepts, web page screen shot, unix programming environment, the writing process, the unix programming environment, the linux programming interface, the history of writing, screen writing software, programming technique, programming history, programming concepts, php pg, parts of writing

Acerca do Empregador:
( 0 comentários ) Turkey

ID do Projeto: #3005797

19 freelancers estão ofertando em média $20 para este trabalho

barros

See private message.

$25.5 USD in 3 dias
(70 Comentários)
5.6
Aurochs

See private message.

$25.5 USD in 3 dias
(60 Comentários)
5.0
nusoftware

See private message.

$25.5 USD in 3 dias
(20 Comentários)
4.4
gpaul44

See private message.

$21.25 USD in 3 dias
(74 Comentários)
4.1
stevenfvw

See private message.

$21.25 USD in 3 dias
(13 Comentários)
3.6
aka001vw

See private message.

$21.25 USD in 3 dias
(10 Comentários)
3.0
atulgvw

See private message.

$14.45 USD in 3 dias
(1 Comentário)
2.9
vaincoder

See private message.

$17 USD in 3 dias
(2 Comentários)
2.2
cringecoder

See private message.

$17 USD in 3 dias
(5 Comentários)
2.1
cezarboicu

See private message.

$8.5 USD in 3 dias
(2 Comentários)
1.6
normancboy

See private message.

$17 USD in 3 dias
(2 Comentários)
0.8
stevekennedy99

See private message.

$24.65 USD in 3 dias
(1 Comentário)
0.2
shagarasoft

See private message.

$15.3 USD in 3 dias
(5 Comentários)
0.0
Dubal

See private message.

$21.25 USD in 3 dias
(0 Comentários)
0.0
charuchandra

See private message.

$17 USD in 3 dias
(0 Comentários)
0.0
mamtakumarivw

See private message.

$25.5 USD in 3 dias
(0 Comentários)
0.0
eempee

See private message.

$21.25 USD in 3 dias
(0 Comentários)
0.0
fguido

See private message.

$25.5 USD in 3 dias
(0 Comentários)
0.0
dmkone

See private message.

$22.95 USD in 3 dias
(0 Comentários)
0.0