exec make buildworld

Charles Swiger cswiger at mac.com
Mon Apr 4 11:03:48 PDT 2005


On Apr 4, 2005, at 1:54 PM, Gert Cuykens wrote:
>  think it did not work because you have to do "exec make buildworld >
> log.file & logout" dont know did not try it yet :)
>
> Is ctrl+D the same as close exit or logout or does it stand for detach
> and run in the background ?

Cntl-D when read as input means EOF.  The shell reads commands until it 
reaches the end of the shell script, or the end of user input, and then 
exits.  Cntl-D thus behaves similar to exit or logout.

[ EOF really is a state of mind, not a character. ]

>  If i do ctrl +D in a terminal doing nothing ?

Your shell will exit.

> Will the terminal be runing forever in the background doing
> nothing untill i kill it ?

Nope.  Your terminal window will notice the child shell process go 
away, and will do the same thing.

> Where can you find a list of csh ctrl commands ?

These aren't specific to csh, but see "stty -a".

-- 
-Chuck



More information about the freebsd-questions mailing list