Tiny Core Linux

General TC => General TC Talk => Topic started by: P5music on October 06, 2010, 08:25:22 AM

Title: symbol to make a script continue
Post by: P5music on October 06, 2010, 08:25:22 AM
Hello,
which is that ("&" ?) symbol that's useful to execute a command without blocking the script, and what's the syntax?
Thanks very much
Title: Re: symbol to make a script continue
Post by: gerald_clark on October 06, 2010, 08:34:23 AM
This is a basic Linux question, and not TC specific.
The answer depends on where the '&' is in the command line.
For example:

make install > install.log 2>&1 &

The first '&' is part of an output redirect catenation command.
The second '&' detaches the command from the terminal so it can run in the background.
Title: Re: symbol to make a script continue
Post by: curaga on October 06, 2010, 09:52:52 AM
man bash

Search for "background"