LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs > naveen245
User Name
Password

Notices


Rate this Entry

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()
Posted in Uncategorized
Views 1170 Comments 3
« Prev     Main     Next »
Total Comments 3

Comments

  1. Old Comment
    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 naveen245 is offline
  2. Old Comment
    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 naveen245 is offline
  3. Old Comment
    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 naveen245 is offline
 

  



All times are GMT -5. The time now is 02:03 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration