View Single Post
  #5 (permalink)  
Old 04-12-2009, 03:10 PM
kumarat9pm's Avatar
kumarat9pm kumarat9pm is offline
Senior Member
User
 
Join Date: Jun 2007
Location: Pune,MH,India
OS: RHEL,UBUNTU..
Posts: 447
Thanks: 20
Thanked 20 Times in 18 Posts
Rep Power: 5
kumarat9pm has a spectacular aura about kumarat9pm has a spectacular aura about kumarat9pm has a spectacular aura about
Send a message via Yahoo to kumarat9pm Send a message via Skype™ to kumarat9pm
Default History modifiers are cool

Thanks for sharing

though this is known to every just i want to share.

~/.bash_hisroty --contaions all your commands history
to check history size

echo $HISTSIZE

to change default history size(which is 500 in most of the linux flavors) to 20 commands history

HISTSIZE=20

To clear history

history -c
__________________
Thanks,
Surendra Kumar Anne
Ubuntu: Simple, Stylish and Striking..!
Linux: Fast, friendly, flexible and .... free!
Support Open source.
Reply With Quote