bash
Bash
command
# if command returns 0, run abc
command && abc
# if command returns not 0, run abc
command || abc
# multilines
command \
&& second command \
&& third command
declare
...
echo
echo bla
echo "test" >> file
exit
export
export [-fn] [name[=word]] ...
-f : names are associated to function
-n : remove name from exported list
export -p : print exported variables
export : print exported variables
return 0 if successful
fc
fg
set
set [--abefhkmnptuvxBCEHPT] [-o nom_d_option] [argument ...]
set [+abefhkmnptuvxBCEHPT] [+o nom_d_option] [argument ...]
-x Après le développement de chaque commande simple, commande for, commande case, commande select ou commande for arithmétique, affi‐
cher la valeur développée de PS4, suivie de la commande et ses arguments développés ou la liste de mots associé
+x Cacher le développement...
-o pipefail|errtrace|nounset|errexit