====== Bourne Again Shell (Bash) Scripting ====== ===== Dependency Management ===== * [[https://import.pw/|import]] – module system for Bash and other Unix shells. ===== Syntax ===== ==== newline ==== Backslash escapes the character coming after it, if that's the end of the line, you basically "remove" the newline. Watch out to not have any spaces or other characters after the backslash, just the newline! # In general $ echo "foo" \ > "bar" foo bar # Pipes $ echo foo | > cat foo # && and || $ echo foo && > echo bar foo bar $ false || > echo bar bar ([[https://stackoverflow.com/questions/3871332/how-to-tell-bash-that-the-line-continues-on-the-next-line|source]])