Reply
Thread Tools
Posts: 411 | Thanked: 195 times | Joined on May 2010 @ Cambridge, UK
#1
Hi there, not sure how, but the echo 1500000 > /sys/devices/system... etc command for overclocking using the power user kernel and also the cat /sys/devices... etc command for checking the freq are available by pressing up as you would to repeat the last command executed. They are there even after restarting.

This isn't a bad thing by any means, I', just wondering how I've managed to end up with these handy shortcuts?
 
casper27's Avatar
Posts: 843 | Thanked: 520 times | Joined on Jan 2009 @ UK southampton
#2
All commands when you exit xterm properly ie type exit are saved in your profile in file
/home/user/.ash_history
You can look at which commands are presently saved by typing

vi /home/user/.ash_history

I think default is set to save something like the last 10 commands but there is a slight bug in permissions and ownership sometimes but alot seems to have been sorted out with PR 1.2.
If you want .ash_history to save all commands regardless of whether you exit cleanly or not ie just press the x. Just type into xterm

echo "trap exit SIGHUP SIGINT SIGTERM" >> /home/user/.profile

This will force it to save last commands on exit.
 

The Following 2 Users Say Thank You to casper27 For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:49.