Some advice -- try not to cd from within your scripts ( cd /home/jeremy ) .. It can have unintended results based on the user executing etc .. Instead try to use absolute paths within forked commands .. ( touch /home/jeremy/home_pers_taille.txt ) OR store your directory in a variable and use it in your absolute path, if you find typing it out every time is cumbersome. ( touch $my_dir/home_pers_taille.txt )
cdfrom within your scripts (cd /home/jeremy) .. It can have unintended results based on theuserexecuting etc .. Instead try to use absolute paths within forked commands .. (touch /home/jeremy/home_pers_taille.txt) OR store your directory in a variable and use it in your absolute path, if you find typing it out every time is cumbersome. (touch $my_dir/home_pers_taille.txt)du -sh | awk '{print $1}'