Forgot password in Ubuntu

I recently installed a Ubuntu 10.10 for my friend, and during the installation, I picked a random password and turned out I could not spell it again after finishing the installation.
There are quite many posts on the Internet if you search “forgot password ubuntu“. And the solution is quite easy for Ubuntu 10.10.
1, Reboot the computer, go to recovery mode in the GRUB memu ( if Ubuntu is the only OS, hold shift key to show the GRUB menu. )
2, In the recovery menu, select root or netroot
3, In the terminal, type passwd yourusername
4, Enter new password twice…
5, reboot -f

And that’s it.
Changing the password is so easy and may be I would like to hide my recovery mode in GRUB.


Book Search for Numerical Linear Algebra and Optimization

I’ve been searching for solid text books for Numerical Linear Algebra and Optimization for a while. And it turns out for both subjects, there are books which is considered as the must have books. For Optimization, THE book is quite easy to find, which the whole world would recommend Convex Optimization from Stephen Boyd and


First Post with Latex

This is just a simple test for