Shells

There difference between a shell, terminal, console and command line.

Fish Bash
Alt-L : ls
Alt-P : append "\ less"
Alt-V : edit command in editor
Alt-W : what is the current command?
history history

Safer Bash Scripts

https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/

set -Eeuxo pipefail

set -o errtrace      # Inherit traps
set -o errexit       # stops script if any command fail
set -o nounset       # access to unset variable is considered failure
set -o xtrace        # print each executed command
set -o pipefail      # extends above to failures on pipeline

results matching ""

    No results matching ""