Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use a bash script for launching and add a & to the end, like this:

./bin/Startup.sh par1 &

What does the & symbol in the end mean?

Thanks.

share|improve this question

migrated from stackoverflow.com Nov 17 '11 at 13:54

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer

up vote 1 down vote accepted

It tells the system to run the command in the background. From the bash man page on my system:

If a command is terminated by the control operator &, the shell executes the command in the background in a subshell. The shell does not wait for the command to finish, and the return status is 0. Commands separated by a ; are executed sequentially; the shell waits for each command to terminate in turn. The return status is the exit status of the last command executed.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.