Shell program
Posted 02-01-2006 at 02:04 AM by naveen245
Guys help me out...
I want a simple shell program without using the system() function. I.e using fork()
I want a simple shell program without using the system() function. I.e using fork()
Total Comments 3
Comments
-
Every time we type a command, the shell call fork() to generate a new shell which will process our demand. When the commands run in the shell program, it is also the same except they are inner commands. (for example "set", "export"). Ther number of inner command is very limited. So, It is almost impossible to run a shell program without fork().
Xi SHI
Posted 12-31-1969 at 07:00 PM by naveen245 -
my c++ program compiles successfully by executes only when using ./ before file name. I am using hte bash shell. I want to know why we are using ./ before file names.
Posted 12-31-1969 at 07:00 PM by naveen245 -
my c++ program compiles successfully by executes only when using ./ before file name. I am using hte bash shell. I want to know why we are using ./ before file names.
Posted 12-31-1969 at 07:00 PM by naveen245