Tag Archive for "linux" tag

wget

May 14th, 2009 by usage | 0

How to download a site using wget Download the file in background.   Will download all the links from the list.txt file and pretending that it’s Firefox. wget –continue –verbose –input-file=”list.txt” –output-file=”list.log” –user-agent=”Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1″






VBoxManage

April 16th, 2009 by usage | 0

VirtualBox command line usage Related http://www.ubuntugeek.com/how-to-control-virtual-machines-virtualbox-using-vboxmanage.html






tar

April 14th, 2009 by usage | 0

Create a tar file and verify the tar archive Related http://www.cyberciti.biz/faq/unix-verify-tape-backup/






du

April 14th, 2009 by usage | 0

Summarize disk usage of each FILE, recursively for directories.











rsync

April 14th, 2009 by usage | 0

rsync -e ssh –verbose –stats –compress –recursive –times –perms –links –delete –exclude “*bak” –exclude “.svn” –exclude “*~” –exclude “._*” /var/www/vhosts/domain.com user@domain.com:/var/www/vhosts/domain.com Recommendations: setup keyless login for user@domain.com also the user must have permissions to write in /var/www/vhosts/domain.com






dpkg-reconfigure

April 11th, 2009 by usage | 0

dpkg-reconfigure reconfigures packages after they have already been installed. Pass it the names of a package or packages to reconfigure. It will ask configuration questions, much like when the package was first installed. Example:






lshw

April 11th, 2009 by usage | 0

Examples lshw is a small tool to extract detailed information  on  the  hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration,  bus speed, etc. on DMI-capable x86 or IA-64 systems and on some PowerPC machines (PowerMac G4 is known to work). It currently […]