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.

Ujuzi: .NET, C Programming, Linux

Angalia Zaidi: obviously shell invoked without, at properties, vi, reached, operation manual, exit, execution, command, clr, without support, myshell batchfile, report variable, filter amp, character created, background process, command help, write simple shell, operation pause, internal error, character environment, internal environment, internal user, stdout, execute, clear background

Kuhusu Muajiri:
( Maoni 0 ) ae, United Arab Emirates

Kitambulisho cha Mradi: #57524

Wafanyakazi huru 9 wameweka zabuni ya kadri ya $58 kwa kazi hii


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

$60 USD kwa siku 2
(Maoni 61)

We can do this fast, at a low cost and pro.Please check message board. Thank you

$60 USD kwa siku 2
(Maoni 14)

Wide experience of programming on C.

$30 USD kwa siku 5
(Maoni 9)

See PMB, please.

$75 USD kwa siku 5
(Maoni 46)

Will be happy to help you.

$60 USD kwa siku 7
(Maoni 5)

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

$30 USD kwa siku 1
(Maoni 2)

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 Zaidi

$100 USD kwa siku 30
(Maoni 2)

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 Zaidi

$60 USD kwa siku 2
(Maoni 3)

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

$30 USD kwa siku 3
(Maoni 0)

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 kwa siku 3
(Maoni 0)