Posts tagged «linux»
(Italiano) Shared Memory in PHP
Sorry, this entry is only available in Italiano.
Upgrading etch to lenny
On febrary 14th the Debian distribution 5.0 (lenny) passed from testing to stable, so I need to upgrade. Probably I will do it also on production server in office, but now I start whith my home server, since it's my first dist-upgrade.
Backup
First of all a complete backup:
rsync -vrpoglHDIt --delete --progress \
--exclude=/proc --exclude=/sys --exclude=/tmp --exclude=/var/run \
--exclude=/var/lock [...]
(Italiano) La cazzata del giorno
Inviare allegati Office nelle proprie email è maleducazione.
Recursive regular experession substitution
Script che sostituisce _ricorsivamente_ tutte le occorrenze della regexp passata come primo parametro con la regexp passata come secondo parametro, a partire dalla dir attuale o da quella specificata come terzo parametro
Find
Just a little reminder for that useful linux command!
Find recursively all files with the same extension
find /home/gabo -name "*.txt"
Find all files containg a string
find /home/gabo | xargs grep -i "frase da cercare"
Delete recursively all file matching the -name option
find /home/gabo -name '*~' -exec rm -f {} \;