Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-16-2006, 05:34 PM   #1
LQ Newbie
Registered: Jan 2006
Location: Texas
Distribution: red hat
Posts: 11

Rep: Reputation: 0
Changing history

I am wanting to change the amount of history stored when typed history to more than the default 10 on users other than root. how is this accomplished...or is it? i am wanting the history to show like root's in the fact that it is the past 1000 commands entered.
Old 03-17-2006, 03:36 AM   #2
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
In order to control the number of entries in history, you just need to adjust the HISTSIZE parameter. There's a very good bash guide here and you probably would be most interested in the History section. Please also see man bash for more detail.

Welcome to LQ!

Last edited by J.W.; 03-17-2006 at 03:38 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Download history and copy history? inverted.gravity Linux - Newbie 1 02-21-2006 01:31 PM
Problem changing the video adapter setting and changing the screen resolution habiblove Linux - General 3 02-18-2006 06:10 PM
history saipraveen Linux - Newbie 5 06-10-2005 08:04 PM
How to find back "history" database after "history -c" ? san_lss Linux - Newbie 1 01-07-2004 12:53 PM
History neohybrid1 Linux - General 1 12-03-2002 05:53 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration