VBoxManage
VirtualBox command line usage Related http://www.ubuntugeek.com/how-to-control-virtual-machines-virtualbox-using-vboxmanage.html
VirtualBox command line usage Related http://www.ubuntugeek.com/how-to-control-virtual-machines-virtualbox-using-vboxmanage.html
Create a tar file and verify the tar archive Related http://www.cyberciti.biz/faq/unix-verify-tape-backup/
Summarize disk usage of each FILE, recursively for directories.
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
dmidecode is a tool for dumping a computers DMI (some say SMBIOS) ta ble contents in a human-readable format. This table contains a descrip tion of the systems hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without […]
Create a user with limited permissions GRANT SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, CREATE ROUTINE, ALTER ROUTINE,CREATE TEMPORARY TABLES,DROP,INDEX, LOCK TABLES ON yourdb.* TO usr@localhost IDENTIFIED BY “pwd” if you want to create a user that has access to databases that start with a certain prefix. GRANT SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, […]
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:
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 […]