18 enero 2015

Tip Shell UNIX: Comandos divertidos (Parte III)



Aquí está la tercera lista que compilé de comandos UNIX que devuelven mensajes de error ingeniosas .
Algunos de los comandos no devuelven los mismos mensajes de error , dependiendo de qué sistema operativo se está ejecutando (es decir, HP / UX , Ultrix , Oracle Solaris. ). A Divertirse!



% mkdir yellow_pages; cat > yellow_pages
yellow_pages: Is a directory 
%touch me
%chmod 000 me
%touch me
touch: cannot touch me: permission denied 
% ar x "my love life"
ar: my love life does not exist 
% ar x "matey, the treasure"
ar: matey, the tresure does not exist 
make "bottle open"
make "heads or tails of all this"
make love
make mistake
make sense
man woman
man -kisses dog 
% echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc
GET A LIFE! 
% ping elvis.rice.edu | awk '{print substr($1,1,5), $2, $3}'
elvis is alive 
% finger body-of-christ@bread-jar.mass
Unknown host 
% finger huge-keg-party@big-house
Unknown host 
% make ' ' bang ' ' with gun
make: Fatal error: Don't know how to make target ` '


# shutdown -g0 -i0 -y
 
Shutdown started.    Sun JAN 18 5:17:45 PDT 2015
 
Changing to init state 0 - please wait
Broadcast Message from root (console) on systemA.com Wed Sep 19 15:17:45...
THE SYSTEM systemA.com IS BEING SHUT DOWN NOW ! ! !
Log off now or risk your files being damaged
 
root@systemA:~# svc.startd: The system is coming down.  Please wait.
svc.startd: 126 system services are now being stopped.
Jan 18 5:18:01 systemA.com syslogd: going down on signal 15
svc.startd: Killing user processes.
Jan 18 5:18:07 The system is down.  Shutdown took 22 seconds.
syncing file systems... done
Program terminated
< . . . >
{0} ok

No hay comentarios:

Publicar un comentario

Por favor deja tu comentario, es valioso.