LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2014, 11:27 PM   #1
kzkhan02
LQ Newbie
 
Registered: Oct 2014
Posts: 1

Rep: Reputation: Disabled
Linux question


I am new in Linux so I am asking
Question-1---which files keep the record of the history of all commands and what is the limit on number of commands it keeps.
 
Old 10-13-2014, 11:36 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

is this a multiple choice question?

But seriously, we can help you, but we will not do your homework for you (as per site rules). Can you give some context to your question? Explain what you have done to try to find the answer on your own?

Evo2.
 
1 members found this post helpful.
Old 10-13-2014, 11:38 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
.bash_history is where it's stored, I can't remember how to change the limit.
 
Old 10-13-2014, 11:42 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Google search for change limit of bash_history.
Here is 1 to have no limit
http://unix.stackexchange.com/questi...h-history-file
There are plenty more under the google search.
 
Old 10-13-2014, 11:49 PM   #5
SAbhi
Member
 
Registered: Aug 2009
Location: Bangaluru, India
Distribution: CentOS 6.5, SuSE SLED/ SLES 10.2 SP2 /11.2, Fedora 11/16
Posts: 664

Rep: Reputation: 81
evo2 has a point here.. please do some learning on yourself and post your doubt, we will try to help.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux distro question & mysql install question natalie.aloi Linux - Newbie 5 07-19-2009 08:28 PM
Non Linux User Question: (closest to) Standard Video Format on Linux escherwisser Linux - Newbie 3 05-18-2009 09:41 AM
Question writing workshop for Linux+, experienced Linux administrators needed cbalkcom Linux - News 1 10-12-2008 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:55 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration