LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-16-2006, 04:34 PM   #1
linux_dummy
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, 02:36 AM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
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 02:38 AM.
 
  


Reply



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 12:31 PM
Problem changing the video adapter setting and changing the screen resolution habiblove Linux - General 3 02-18-2006 05:10 PM
history saipraveen Linux - Newbie 5 06-10-2005 07:04 PM
How to find back "history" database after "history -c" ? san_lss Linux - Newbie 1 01-07-2004 11:53 AM
History neohybrid1 Linux - General 1 12-03-2002 04:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:20 AM.

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