Convertir de .flv a .mp3
ffmpeg -i archivo.flv -f mp3 -vn -acodec copy archivo.mp3
Revisar ortografía archivos latex con aspell
aspell -d es -c archivo.tex
Encontrar un archivo
find / -iname nombreArchivo.algo
Comprimir / Descomprimir Linux
Comprimir .tar
tar cvf archivo.tar /archivos/a/comprimir/*Descomprimir .tar
tar xvf archivo.tarVer contenido .tar
tar tvf archivo.tarComprimir .tar.gz
tar zcvf archivo.tar.gz /archivos/a/comprimir/*Descomprimir .tar.gz
tar zxvf archivo.tar.gzVer contenido .tar.gz
tar tzvf archivo.tar.gzComprimir .gz
gzip -q archivo # el archivo lo renombra a archivo.gzDescomprimir .gz
gzip -d archivo.gzComprimir .bz2
bzip2 archivo bunzip archivoDescomprimir .bz2
bzip2 -d archivo.bz2 bunzip2 archivo.bz2Comprimir .tar.bz2
tar -c archivos | bzip2 > archivo.tar.bz2Descomprimir .tar.bz2
bzip2 -dc archivo.tar.bz2 | tar -xv # versiones recientes de tar tar jvxf archivo.tar.bz2Ver contenido .tar.bz2
bzip2 -dc archivo.tar.bz2 | tar -tv
Bajar un html por CLI
lynx -dump somefile.html
Cantidad commit por usuario SVN
svn log -q|grep "|"|awk "{print \$3}"|sort|uniq -c|sort -nr
Tunel ssh
ssh -L <puerto_remoto>:localhost:<puerto_local> <usuario_remoto>@server_remoto
Montar .iso
mount -o loop imagen.iso /mnt/donde/montar
Eliminar recursivamente los .svn
rm -rf `find . -type d -name .svn`
Generar un .cap con tcpdump
tcpdump -v -w archivo.cap -xX -s 0 -i <interface>
Crontab Commands
export EDITOR=vim ;para especificar que editor usar. crontab -e Edit your crontab file, or create one if it doesn't already exist. crontab -l Display your crontab file. crontab -r Remove your crontab file. crontab -v Display the last time you edited your crontab file. (This option is only available on a few systems.)
Nero