Saturday, January 9, 2010

bash PS1

export PS1='\h:\w \u\$ '

Monday, January 4, 2010

linux software for me

Terminator

Two for editing mp3 tags:
EasyTag
tagtool


partimage to backup partitions


Monday, December 14, 2009

ubuntu karmic manager services

Use package:
 sysv-rc-conf

Or
update-rc.d -f cron remove

Or

Disabling Services using BUM


bum is a package

so  use
apt-get install bum


Sunday, December 13, 2009

Saturday, December 12, 2009

mac terminal color highlighting

Enabling directory and file color highlighting requires that the file ~/.bachrc, ~/.profile, or ~/.bash_profile to be changed:

export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad

Wednesday, December 9, 2009

how to uninstall grub from linux

copied from somewhere. 

Using Linux

You can also use dd command from Linux itself (it removes partition table):
# dd if=/dev/null of=/dev/sdX bs=512 count=1

Just remove MBR, without the partition table (see comment below):
# dd if=/dev/null of=/dev/sdX bs=446 count=1

Replace /dev/hdX with your actual device name such as /dev/hda. Use fdisk -l command to find out device name:
# fdisk -l