informatica:linux:comandos_utiles
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
informatica:linux:comandos_utiles [2009/04/17 10:37] – editor externo 127.0.0.1 | informatica:linux:comandos_utiles [2015/04/13 20:19] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
Muestra los disco montados en el sistema y el espacio okupado en cada uno | Muestra los disco montados en el sistema y el espacio okupado en cada uno | ||
- | free -m | + | |
Muestra la memoria instalada/ | Muestra la memoria instalada/ | ||
Line 9: | Line 9: | ||
-RAM | -RAM | ||
- | -Tamaño partición swap | ||
- | find . -type d -exec chmod 0777 {} \; | + | ====== Acciones con archivos y directorios ====== |
+ | |||
+ | * Cambiar permisos a directorios o a archivos | ||
- | find . -type f -exec chmod 0664 {} \; | + | find . -type d -exec chmod 0777 {} \; |
+ | | ||
+ | * Copiar archivos | ||
+ | |||
+ | find /origen/ -type f -exec cp {} /destino/ \; | ||
+ | |||
+ | ====== Sincronizar Hora ====== | ||
+ | # ntpdate servertime.com | ||
+ | 6 Apr 17:52:00 ntpdate[5324]: | ||
+ | # / | ||
+ | Shutting down ntpd: [ OK ] | ||
+ | # ntpdate servertime.com | ||
+ | 6 Apr 18:17:14 ntpdate[5423]: | ||
+ | # / | ||
+ | Starting ntpd: | ||
informatica/linux/comandos_utiles.1239964666.txt.gz · Last modified: 2015/04/13 20:19 (external edit)