I am a system administrator and I have been asked to run a linux script to clean the system.
The command is this:
perl script.pl > output.log &
so this command is ending with a &
sign, is there any special significance of it?
I have basic knowledge of shell but I have never seen this before.
&
and&&
:&
executes the first command in the background;&&
executes the first command and conditionally proceeds to the second if it exits with success.