informatica:linux:bash
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
informatica:linux:bash [2010/01/09 08:41] – 192.168.1.30 | informatica:linux:bash [2015/04/13 20:19] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 52: | Line 52: | ||
echo " | echo " | ||
</ | </ | ||
+ | |||
+ | |||
+ | ===== Colorear archivos ===== | ||
+ | |||
+ | 1. Instalar vim | ||
+ | |||
+ | sudo aptitude update && sudo aptitude install vim | ||
+ | |||
+ | 2. Crear archivo: | ||
+ | |||
+ | vim / | ||
+ | |||
+ | Con el siguiente contenido: | ||
+ | |||
+ | :syntax on | ||
+ | |||
+ | 3. Grabar y salir | ||
+ | |||
+ | |||
+ | ===== Colorear Línea de Comandos ===== | ||
+ | |||
+ | echo -en ' | ||
+ | |||
+ | https:// | ||
+ | |||
+ | rojo | ||
+ | echo -en ' | ||
+ | |||
+ | verde | ||
+ | echo -en ' | ||
+ | |||
+ | azul | ||
+ | echo -en ' | ||
+ | |||
+ | |||
+ | ===== Logs ===== | ||
+ | |||
+ | 09/ | ||
+ | |||
+ | Extraer la cola: | ||
+ | |||
+ | cat log_file.txt | grep " | ||
+ |
informatica/linux/bash.1263026505.txt.gz · Last modified: 2015/04/13 20:19 (external edit)