WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: symbol to make a script continue  (Read 2153 times)

Offline P5music

  • Full Member
  • ***
  • Posts: 167
symbol to make a script continue
« on: October 06, 2010, 11: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

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: symbol to make a script continue
« Reply #1 on: October 06, 2010, 11: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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11048
Re: symbol to make a script continue
« Reply #2 on: October 06, 2010, 12:52:52 PM »
man bash

Search for "background"
The only barriers that can stop you are the ones you create yourself.