Command Shell

project is to write a simple shell - myshell - that has the following properties:

1. The shell must support the following internal commands:

i. cd - change the current default directory to . If the argument is not present, report the current directory. If the directory does not exist an appropriate error should be reported. This command should also change the PWD environment variable.

ii. clr - clear the screen.

iii. dir - list the contents of directory

iv. echo - display on the display followed by a new line (multiple spaces/tabs may be reduced to a single space)

v. help - display the user manual using the more filter

vi. pause - pause operation of the shell until 'Enter' is pressed

vii. quit - quit the shell

2. The shell must be able to take its command line input from a file. i.e. if the shell is invoked with a command line argument:

myshell batchfile

then batchfile is assumed to contain a set of command lines for the shell to process. When the end-of -file is reached, the shell should exit. Obviously, if the shell is invoked without a command line argument it solicits input from the user via a prompt on the display.

3. The shell must support i/o-redirection on either or both stdin and/or stdout. i.e. the command line:

programname arg1 arg2 outputfile

will execute the program programname with arguments arg1 and arg2, the stdin FILE stream replaced by inputfile and the stdout FILE stream replaced by outputfile.

stdout redirection should also be possible for the internal commands: dir, environ, echo, & help.

With output redirection, if the redirection character is > then the outputfile is created if it does not exist and truncated if it does. If the redirection token is >> then outputfile is created if it does not exist and appended to if it does.

4. The shell must support background execution of programs. An ampersand (&) at the end of the command line indicates that the shell should return to the command line prompt immediately after launching that program.

5. The command line prompt must contain the pathname of the current directory.

Habilidades: .NET, Programação C, Linux

Veja mais: obviously shell invoked without, o 1 space, c# programs with output, at properties, programname arg1 arg2 inputfile outputfile, shell must support background execution programs, vi, reached, operation manual, exit, execution, command, clr, without support, myshell batchfile, report variable, filter amp, character created, background process, command help

Acerca do Empregador:
( 0 comentários ) ae, United Arab Emirates

ID do Projeto: #57524

9 freelancers estão ofertando em média $58 nesse trabalho


I can do this for you using .Net ( C# or Vb.net ) and you will see my work

$60 USD in 2 dias
(61 Comentários)

We can do this fast, at a low cost and [login to view URL] check message board. Thank you

$60 USD in 2 dias
(14 Comentários)

Wide experience of programming on C.

$30 USD in 5 dias
(9 Comentários)

See PMB, please.

$75 USD in 5 dias
(46 Comentários)

Will be happy to help you.

$60 USD in 7 dias
(5 Comentários)

24 hours. 33 dao. let's help each other.

$30 USD em 1 dia
(2 Comentários)

We're the team of enthusiastic and technically conscious highly qualified engineers, with core software industry experience. Our team have 25 man-years experience. They are serving the key position in their respective Mais

$100 USD in 30 dias
(2 Comentários)

I am a student graduating this year from India's premier institute.I already did a similar project for my operating systems course.A few modifications to that project will work for this project.I will complete the proj Mais

$60 USD in 2 dias
(3 Comentários)

I have good experience in Lunix system programming, so can easily do this small project.

$30 USD in 3 dias
(0 Comentários)

I have 4 years of experience in c/c++ programming and right now i am working on a similar project for some network application so i can assure you a great project in a very short period of time

$50 USD in 3 dias
(0 Comentários)