Skip to content
Joachim Ansorg edited this page Nov 12, 2021 · 4 revisions

It's not foo &; bar, just foo & bar.

Problematic code:

foo &; bar

Correct code:

foo & bar

Rationale:

Both & and ; terminate the command. You should only use one of them.

Exceptions

None.

ShellCheck

Each individual ShellCheck warning has its own wiki page like SC1000. Use GitHub Wiki's "Pages" feature above to find a specific one, or see Checks.

Clone this wiki locally