User Tools

Site Tools


informatica:linux:comandos_utiles

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
informatica:linux:comandos_utiles [2009/11/05 07:47] – editor externo 127.0.0.1informatica:linux:comandos_utiles [2012/06/22 06:22] javi
Line 9: Line 9:
 -RAM -RAM
  
--Tamaño partición swap + 
 +====== Acciones con archivos y directorios ====== 
 +   
 +  * Cambiar permisos a directorios o a archivos
  
   find . -type d -exec chmod 0777 {} \;   find . -type d -exec chmod 0777 {} \;
   find . -type f -exec chmod 0664 {} \;   find . -type f -exec chmod 0664 {} \;
  
 +  * Copiar archivos
 +
 +  find /origen/ -type f -exec cp {} /destino/ \;
 +
 +====== Sincronizar Hora ======
 +  # ntpdate servertime.com
 +   6 Apr 17:52:00 ntpdate[5324]: the NTP socket is in use, exiting
 +  # /etc/init.d/ntpd stop
 +  Shutting down ntpd:                                        [  OK  ]
 +  # ntpdate servertime.com
 +   6 Apr 18:17:14 ntpdate[5423]: step time server 10.92.4.75 offset 1502.642868 sec
 +  # /etc/init.d/ntpd start
 +  Starting ntpd:                                              OK  ]
  
informatica/linux/comandos_utiles.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1