Thursday, May 11, 2017

grub load temporarily

centos 7
grub-reboot 1

centos 6
echo "savedefault --default=1 --once" | grub --batch
reboot

Thursday, April 06, 2017

linux disable echoing ^C when CTRL-C is pressed

stty -ctlecho

thanks to http://stackoverflow.com/questions/418073/stop-echoing-c-to-terminal