Tmux
Créez le script final de la video suivante pour vos déploiement sur les serveurs de production :
Signaux
https://faculty.cs.niu.edu/~hutchins/csci480/signals.htm
fg et bg
http://igm.univ-mlv.fr/~allali/enseignement/prog_unix/documents/Stage_Unix/Stage_Unix_processus.html
trap
https://www.learnlinux.org.za/courses/build/shell-scripting/ch12s03
rot13.sh
#! /bin/sh
while read line; do
echo $line | tr 'A-Za-z' 'N-ZA-Mn-za-m'
done
insupportable.sh
#! /bin/sh
while true
do
sleep ${2:-1}
echo ${1:-"Never Gonna Give You Up"}
done
trap 'echo "je suis immourable ! MOUAHAHAHA"' SIGINT
trap 'echo "je suis immourable ! MOUAHAHAHA"' SIGINT 15
C'est aussi utile
Refactor
TBD signaux : https://pauillac.inria.fr/~remy/poly/system/camlunix/sign.html TBD cours unix/caml : https://pauillac.inria.fr/~remy/poly/system/camlunix/cours.pdf p14 liens dur/symbolique et joli arborescence p17 droits p51 signaux communication : p61 pipe p77 sockets p93 http (faire un protocole ROT13 avec socat) p101 thread (est-ce qu'une goroutine est un thread ?)