Aqui algunos tips:
Top de procesos por memoria:
ps aux | sort -nk +4 | tail
Ah!! Sorpresa!!!
telnet towel.blinkenlights.nl
Descubrelo tu mismo:
tr -c "[:digit:]" " " < /dev/urandom | dd cbs=$COLUMNS conv=unblock | GREP_COLOR="1;32" grep --color "[^ ]"
(Control+C para terminar)
Google translate
translate(){ wget -qO- "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=$1&langpair=$2|${3:-en}" | sed 's/.*"translatedText":"\([^"]*\)".*}/\1\n/'; }
Arbol de subdirectorios
ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'
Imprime la linea especificada de un fichero:
sed -n 5p fichero
listado de comandos que mas usas:
history | awk '{print $2}' | sort | uniq -c | sort -rn | head
Iniciar un comando en 1 sola cpu core:
taskset -c 0 your_command
twitear desde consola:
curl -u user:pass -d status="Tweeting from the shell" http://twitter.com/statuses/update.xml
Podeis encontrar mas en http://www.commandlinefu.com, y si el post tiene exito ire publicando alguno más.
¿Y los tuyos?, si tienes algun tip, truco, algo que quieras contar….ahora es el momento adecuado para hacerlo….
Comentarios recientes