Linux Tips  

Posted by Unknown in ,


Ubuntu post-installation packages
  • CHM Viewer
  • StarDict
  • FireStarter
  • GWget
  • Abiword
  • Gnumeric
  • Anjuta
  • VLC Media Player
  • VMware Server
  • Opera
  • Unrar
  • tracker-stats (for tracker statistics)

How to use "history"
  • history (to list the available history items)
  • !n (run the nth command)
  • ctrl + r (then type the command initials)
  • history -c (clear history)
How to reconfigure X in Ubuntu
  • sudo /etc/init.d/gdm stop (optional)(in case of blank screen, else not required)
  • sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
  • sudo dpkg-reconfigure xserver-xorg
  • CTRL+ALT+BACKSPACE or sudo /etc/init.d/gdm start
How to re-index tracker database
  • killall trackerd
  • trackerd -v 2 -R
LVM commands
  • lvdisplay
  • lvremove /dev/vgname/lvname
  • lvcreate -l 100%FREE -n lvname vgname
  • lvresize -L +/-32m /dev/vgname/lvname
  • --> resize2fs -p /dev/vgname/lvname (first e2fsck -f /dev/vgname/lvname)
  • pvdisplay
  • lvm
  • -->vgdisplay
Some RAID commands
  • mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/partition1 /dev/partition2
  • mkfs.ext3 /dev/md0
  • vi /etc/fstab
  • add this line --> /dev/md0 /share ext3 defaults 1 2
How to reset compiz settings
  • gconftool-2 --recursive-unset /apps/compiz

This entry was posted on Wednesday, April 2, 2008 at Wednesday, April 02, 2008 and is filed under , . You can follow any responses to this entry through the comments feed .

0 comments

Post a Comment