Tuesday, August 27, 2013

Make Ubuntu boot into run Level 3


Edit /etc/default/grub with your favorite editor,

sudo vim  /etc/default/grub
Find this line:

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”
Change it to:

GRUB_CMDLINE_LINUX_DEFAULT=”text”

Update Grub:
sudo update-grub

Done, Next time you boot it will be into run level 3


Thursday, August 8, 2013

Show how old your Linux installation is.

To find out when your Root partition was created.

type

sudo tune2fs -l $(df -h / |(read; awk '{print $1; exit}')) | grep -i created