![]() |
Increase history in shell?
Hi all,
Is there a way to increase the history in the shell? Using Up/Down keys give only limited number of previous commands. Thanks |
Re: Increase history in shell?
|
Re: Increase history in shell?
I've just tried this method, and thus is cool to have red root account doesn't solve the issue: as soon as you close the terminal the history is deleted. any suggestion?
ps: also ls --color=auto doesn't work, maybe there's something to install? |
Re: Increase history in shell?
To record history you should close the shell by typing "exit" rather than by closing the window.
|
Re: Increase history in shell?
Commands are save in ".bash_history"
Create a blank File ( with texteditor ) and save in /home/user/.bash_history IMHO "--color=auto" doesn't work with Bash3 Bash3 is optimized for maemo and it is compiled without "--color=auto" Really sorry for my English |
Re: Increase history in shell?
Quote:
Never mind you close the shell. Type "exit" or push the "close-Button" or ....... |
Re: Increase history in shell?
solved, was a simple permission issue: running a chmod 777 .bash_history solved it all. For the ls-colors some time ago I saw a thread, but was with a .deb file. I would compile it and put on repos (if I know how.) :)
|
Re: Increase history in shell?
Quote:
Also you can create an alias like alias ls='gls --color=auto' |
Re: Increase history in shell?
http://talk.maemo.org/showthread.php...965#post748965
I recommend to add PATH=$PATH:/usr/bin/:/usr/local/bin:/bin to those .bash_profile files Ulle P.S.: for /root/.bash_profile add second additional line: PATH=$PATH:/usr/sbin/:/usr/local/sbin:/sbin |
All times are GMT. The time now is 02:48. |
vBulletin® Version 3.8.8