I was commenting more on that in SCO Unix and DEC 
and others, the way you run in the background is 
with a pipe ("|") immediately before the ampersand 
("&").  In other words, you "pipe" the command to 
the background (ie: sh% <command> | & ) in Unix,
like you pipe commands to grep or less.  

Obviously, this is not true in Linux, where one 
must not put the pipe, but merely the "&" alone 
after the command.

I wonder if there's a compendium anywhere of 
things that Linus changed when making Linux?

I would imagine it would be quite large.

Michael
[EMAIL PROTECTED]


--- Paul Hamm <[EMAIL PROTECTED]> wrote:
> If you are running a GUI app and want to get your shell back all you need to
> do is"> <COMMAND> &" example "mozilla &" If you are running a backup script
> or something that will take hours use cron.  The reason is that if you are
> running on a remote machine and get disconnected so does the process you are
> running.
> 
> -----Original Message-----
> From: Michael Oatman [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 22, 2002 6:12 AM
> To: [EMAIL PROTECTED]
> Subject: RE: How to & (submit jobs to background)
> 
> 
> Oh, I've been trying 
> 
>    sh% <command> |&
> 
> and then I tried
> 
>    sh% <command> >&
> 
> and all sorts of variations.
> Except the right one, it seems....
> When those didn't work I just minimized shell windows ;)
> 
> It appears that 
> 
>    sh% bg <command>
> 
> is the same as
> 
>    sh% <command> &
> 
> with no pipe or direct between the command and the &.
> Found it!  Thanks!  Now, how do you resize ext3 partitions?
> 
> Gnu's Not Unix, and neither is a fifth of Linux...
> 
> Michael
> [EMAIL PROTECTED]
> 
> --- Mike Burger <[EMAIL PROTECTED]> wrote:
> > 
> > Wow...didn't know about "bg"...thanks...
> > 
> > On Fri, 22 Feb 2002, Darryl Harvey wrote:
> > 
> > > CTRL-Z stops the process and gives you control,
> > > 
> > > Just type "bg" (No quotes) and the process goes into the "background".
> > > 
> > > You can switch processes at any time by typing "fg process_id"
> > > 
> > > And/or see running jobs by typing "jobs".
> > > 
> > > That will help you.  Although all output will be mixed on your screen.
> > > 
> > > man bash (or whatever shell you are using) then search for fg, bg, jobs
> > > etc..
> > > 
> > > Rgds,
> > > Darryl
> > > 
> > > 
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]] On
> > > > Behalf Of Roger
> > > > Sent: Friday, February 22, 2002 1:55 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: How to submit jobs to background
> > > > 
> > > > Yes, I think it should be Ctrl-Z but, when I press Ctrl-Z the job is
> > > > stopped immediately. That's why?
> > > > 
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]
> > > > On Behalf Of Cameron Simpson
> > > > Sent: Friday, February 22, 2002 10:44 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Re: How to submit jobs to background
> > > > 
> > > > On 09:51 22 Feb 2002, Roger <[EMAIL PROTECTED]> wrote:
> > > > | I remember there is a short cut key, Ctrl+something, that can submit
> > > > the
> > > > | program that is controlling terminal to the background, so that the
> > > > user could
> > > > | regain console again. But I forget it, can you remind me again?
> > > > Thanks!
> > > > 
> > > > You mean ctrl-Z.
> > > > --
> > > > Cameron Simpson, DoD#743        [EMAIL PROTECTED]
> > > > http://www.zip.com.au/~cs/
> > > > 
> > > > My own suspicion is that the universe is not only queerer than we
> > > > suppose,
> > > > but queerer than we *can* suppose.
> > > >         - J.B.S. Haldane "On Being the Right Size"
> > > >           in the (1928) book "Possible Worlds"
> > > > 
> > > > 
> > > > 
> > > > _______________________________________________
> > > > Redhat-list mailing list
> > > > [EMAIL PROTECTED]
> > > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > > > 
> > > > 
> > > > 
> > > > _______________________________________________
> > > > Redhat-list mailing list
> > > > [EMAIL PROTECTED]
> > > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > Redhat-list mailing list
> > > [EMAIL PROTECTED]
> > > https://listman.redhat.com/mailman/listinfo/redhat-list
> > > 
> > 
> > 
> > 
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to