Where is UP ARROW key history on Console?

Asked by mesuth

I need find the previous commands list file on linux? Where is it? Please help...

Question information

Language:
English Edit question
Status:
Answered
For:
Gentoo Linux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Omegamormegil (omegamormegil) said :
#1

In Ubuntu it's in the .bash_history file in your home folder. I don't know about Gentoo.

Revision history for this message
Narayan (mikhailov-megagroup) said :
#2

You can add code to Gentoo:/etc/skel/.bash_profile to increase the amount of lines stored

ls -l .bash_history
$HOME/.bash_history
/root/.bash_history

http://forums.gentoo.org/
http://www.google.com - The friend ;)
http://www.gentoo-wiki.info/Gentoo:/root/.bash_history

Can you help with this problem?

Provide an answer of your own, or ask mesuth for more information if necessary.

To post a message you must log in.