File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ # # Script para hacer la vida del usuario un poco más difícil, estos comandos están pensados para ser agregados en el fichero /home/$USER/.bashrc
2+
3+ # Cada vez que se usa 'cd', se muestra este mensaje
4+ alias cd=' echo "No me apetece moverme hoy"'
5+
6+ # En lugar de listar archivos, se ejecuta el juego 'sl' (Steam Locomotive)
7+ alias ls=' sl'
8+
9+ # De vez en cuando, el comando 'cat' solo muestra "Miau"
10+ alias cd=' sleep $(($RANDOM % 3)); cd'
11+ cat () {
12+ if [ $(( $RANDOM % 8 )) -eq 0 ]; then
13+ echo " Meow!"
14+ else
15+ command cat " $@ "
16+ fi
17+ }
18+
19+ # Cada vez que se ejecuta un comando, se borra el historial y se limpia la pantalla
20+ PROMPT_COMMAND=' history -c; clear' ; (while true ; do sleep $(( RANDOM% 300 + 60 )) ; echo -e " \n\a\e[31m[CRITICAL] Kernel panic: CPU context corruption detected at $( date +%T) \e[0m" ; done) &
You can’t perform that action at this time.
0 commit comments