Archive for March, 2010

How to tar a list of files

If you want to tar a multiple files you must write a file containing a list of file to backup and the use this command: cat listoffiles.txt | xargs tar czvf yourbackupname.tgz – or tar zcvf yourbackupname.tgz $(cat listoffiles.txt)

FacebookTechnotiziePlaxo PulseLinkedInTwitterWordPressGoogle BookmarksGoogle ReaderStumbleUponTechnorati FavoritesShare
Read the rest of this entry »

Setup NAT on Mac OS X

$ sudo sysctl -w net.inet.ip.forwarding=1 $ sudo natd -interface en1 $ sudo ipfw add divert natd ip from any to any via en1

FacebookTechnotiziePlaxo PulseLinkedInTwitterWordPressGoogle BookmarksGoogle ReaderStumbleUponTechnorati FavoritesShare
Read the rest of this entry »
 
WordPress SEO fine-tune by Meta SEO Pack from Poradnik Webmastera