Script e tips bash **pausa in command line e script -p option to display pause along with a message: For example: $ read -p "Press any key to start backup…" bash shell pause function You can create a function as follows: #!/bin/bash # init function pause(){ read -p “$*” } # other stuff pause 'Press any key to continue…' # other stuff **sleep ritardo in script sleep 5 # ritardo di 5 secondi **Script per copiare una serie di oggetti aggiungendo un prefisso: ls *.gif |xargs -i cp {} /var/www/html/phpwebgallery/galleries/gif-animati/thumbnail/TN-{} **entrata di crontab 5 23 * * * /bin/sh /usr/sbin/pre_motion.sh | mail -s "svuota webcam" info@arenahome.org #svuota tutti i giorni alle 23:05