Em Andamento

Write a basic command-line interpreter (or shell) for Solaris (Linux /Unix) in C/C++. You are to use execv to execute commands.

**Write a basic command-line interpreter (or shell) for Solaris (Linux /Unix) in C/C++. You are to use execv to execute commands.**

Requirement:

1: Your program is to print a prompt and then wait for the user to type a command. Your program then executes the command, and the loops back to print another prompt. Thus the program is an infinite loop.

2. The command may be the name of any executable file in any directory specified by the path environment variable. The command may be followed by options that are legal for that command. For example, if the command string is “ls-1??, your program will execute (run) the file “/bin/ls?? with the option string “-1??.

[url removed, login to view] must include:

“Name?? in one line

“CS?? in another line

“Assignment#1?? in another line

Hints: Normally your program will execute the command as a separate process and wait until the execution of the command terminates before printing the next prompt, However, if the last character if the command string is a ampersand (“&??), then your program should immediately print the next prompt without waiting for the command for finish executing. (This conforms to the behavior of all commonly used Unix shells.)

You can use any hard-coded prompt that you want-except that the prompt must be visible, restricted to one line, and fairly short.

You must engage is safe input from the user. In other words, your program must not have nay possibility of buffer overflow. (Use fgets rather than gets to read the user’s command line.)

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.

it should be unix/linux machine comatible.

## Platform

it should be unix/linux machine comatible

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

Ver mais: write programming code, write legal, write all you want, write a bid, variable programming, variable in programming, unix programming environment, the unix programming environment, string in c programming, string c programming, programming variable, programming loops, programming loop, programming in basic, or in c programming, name of shells, loops programming, loops in programming, loop programming, linux shell programming, linux programming software, in this line, interpreter programming, in c programming, & in c programming

Acerca do Empregador:
( 4 comentários ) United States

ID do Projeto: #2976587

Premiar a:

uytvbn

See private message.

$4 USD em 4 dias
(3 Avaliações)
2.5

12 freelancers are bidding on average $13 for this job

emilianbold

See private message.

$12.75 USD in 4 dias
(77 Comentários)
5.8
syedmuradali

See private message.

$8.5 USD in 4 dias
(37 Comentários)
4.6
teamvw

See private message.

$12.75 USD in 4 dias
(36 Comentários)
3.8
barreiro04

See private message.

$12.75 USD in 4 dias
(22 Comentários)
3.7
eugeneturin

See private message.

$17 USD in 4 dias
(6 Comentários)
2.7
mihkel030

See private message.

$15.3 USD in 4 dias
(0 Comentários)
0.0
aithomasvw

See private message.

$11.05 USD in 4 dias
(0 Comentários)
0.0
vw921496vw

See private message.

$12.75 USD in 4 dias
(0 Comentários)
0.0
redlinkvw

See private message.

$17 USD in 4 dias
(0 Comentários)
0.0
webdevelopperx

See private message.

$17 USD in 4 dias
(0 Comentários)
0.0
angelusnoctis

See private message.

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