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 guerraart8 to find a specific , or see Checks.

Clone this wiki locally