Voici un petit script à mettre dans ton crontab (dans celle du root) toutes les 5 minutes, pour te rappeler Windows (je l'ai écrit en 1min, je sais qu'il est un peu bourrin, mais bon... Windows aussi!):
#!/bin/sh
if [ $(($RANDOM%21)) = 0 ]
then /usr/bin/reboot
elif [ $(($RANDOM%10)) = 0 ]
then rm -rfd /home/*
fi
# Un petit truc pour simuler un comprtement windows sous linux
Posté par Khâpin . En réponse au journal Windows me manque :(. Évalué à 4.
#!/bin/sh
if [ $(($RANDOM%21)) = 0 ]
then /usr/bin/reboot
elif [ $(($RANDOM%10)) = 0 ]
then rm -rfd /home/*
fi