Source: https://perso.univ-rennes1.fr/pierre.nerzic/SYS1A/Amphi%20SYS%202015%20partie%207%20:%20Intro%20%C3%A0%20Bash.pdf