On 26/02/2021 09:30, Brad Macpherson via Hampshire wrote:
G'day Owain,

I'm slightly surprised that works at all without a semicolon :-)

Don't forget that an ampersand IS a semi-colon, with the added feature that the command that it terminates gets run in the background.

Which is very useful when running several commands in parallel:

    for x in 1 2 3; do echo $x & done

Cheers,

Chris


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------

Reply via email to