1306 shaares
Liste de builtin Bash et comment les utiliser
Celle que je retiens à force d'en avoir besoin:
# Positional arguments
$0 $1 $2 ...
# All arguments as an array
$@
# Return code of the last command
$?
# Print each script line as it is executed (debug)
set -x
# Exit the script immediately if a command return an error (CI/CD)
set -e