Linux dictionary


setxkbmap us <— change keyboard layout to us

update-alternatives --config editor <— change default editor

shutdown -rF now <— force file system check after reboot

dpkg --get-selections <— list installed application on Debian based Linux

growisofs -dvd-compat -Z /dev/hdb=xxx.iso <— burn dvd iso image

echo "/sbin/reboot" | at 1am <— restart server (computer) at 1am

mysqldump --add-drop-table -u xxxxx -p xxxxx database-name > database-name.sql <— backup mysql database

mysql -u xxxxx -p xxxxx database-name < database-name.sql <— restore mysql database

lshw <— is a small tool to extract detailed information on the hardware
configuration of the machine

ps aux | awk '{ print $8 " " $2 }' | grep -w Z <— find zombie process

cp -r /something/.[a-zA-Z0-9]* /somewhere/dir <--- copy hidden files somewhere

dmidecode <--- nice tool to find ... description of the system's hardware components... serial numbers and BIOS revision...


Leave a Reply