Tuesday, July 28, 2009

Write a C program that will act as a shell command line interpreter for the linux kernel.?

the program shuold use the same style as the bourne shell for running programs

Write a C program that will act as a shell command line interpreter for the linux kernel.?
Some pseudocode:





loop:


- print some kind of prompt (e.g., '$ ')


- read user input


- validate user input


- execute command





Show what you have so far, and maybe people on the board can point out where you might have gone wrong.


No comments:

Post a Comment