Re: Bash history not propagating.

2013-09-29 Thread Curt
On 2013-09-29, Sharon Kimble boudic...@talktalk.net wrote: I'm having a problem with bash history. Basically, I do a lot of stuff in tmux windows, and then when I open up another terminal window, but not in tmux, it does not have the same history as in the tmux windows. How can I get it so

Re: Bash history not propagating.

2013-09-29 Thread Sharon Kimble
On Sun, 29 Sep 2013 15:23:25 + (UTC) Curt cu...@free.fr wrote: On 2013-09-29, Sharon Kimble boudic...@talktalk.net wrote: I'm having a problem with bash history. Basically, I do a lot of stuff in tmux windows, and then when I open up another terminal window, but not in tmux, it does

Re: bash history

2010-11-15 Thread Camaleón
On Sun, 14 Nov 2010 19:44:38 -0300, Kjetil brinchmann Halvorsen wrote: Hola! Hola :-) So I'm trying to use Ctrl-R to do reverse search in the history. Thia is what happens; I try to search for white: kje...@kjetil:~$ history | tail (...) (reverse-i-search)`wh': aptitude why patch

Re: bash history

2010-11-15 Thread Arnt Karlsen
On Sun, 14 Nov 2010 19:51:18 -0700, Bob wrote in message 20101115025118.ga1...@hysteria.proulx.com: Arnt Karlsen wrote: Bob wrote in message: Kjetil brinchmann Halvorsen wrote: (reverse-i-search)`wh': aptitude why patch --- After typing wh (without the quotes), it does not accept

Re: bash history

2010-11-15 Thread Arnt Karlsen
On Mon, 15 Nov 2010 18:11:30 +0100, Arnt wrote in message 20101115181130.42248...@a45.fmb.no: On Sun, 14 Nov 2010 19:51:18 -0700, Bob wrote in message 20101115025118.ga1...@hysteria.proulx.com: Arnt Karlsen wrote: Bob wrote in message: Kjetil brinchmann Halvorsen wrote:

Re: bash history

2010-11-15 Thread Bob Proulx
Arnt Karlsen wrote: Bob wrote in message Arnt Karlsen wrote: ..from grep --help |less: ;o) -i, --ignore-case ignore case distinctions That is a grep option. It doesn't apply to bash's history search. ..correct, that's _why_ we use such grep pipes instead. ;o) Uhm...

Re: bash history

2010-11-15 Thread Arnt Karlsen
On Mon, 15 Nov 2010 11:33:57 -0700, Bob wrote in message 20101115183357.ga18...@hysteria.proulx.com: Arnt Karlsen wrote: Bob wrote in message Arnt Karlsen wrote: ..from grep --help |less: ;o) -i, --ignore-case ignore case distinctions That is a grep option. It

Re: bash history

2010-11-14 Thread Bob Proulx
Kjetil brinchmann Halvorsen wrote: So I'm trying to use Ctrl-R to do reverse search in the history. Thia is what happens; I try to search for white: Here you say white in lower case letters. kje...@kjetil:~$ history | tail 284 Sunday 2010-11-14 [19:37:03 -0300] history 10 285 Sunday

Re: bash history

2010-11-14 Thread Arnt Karlsen
On Sun, 14 Nov 2010 16:00:50 -0700, Bob wrote in message 20101114230050.ga7...@hysteria.proulx.com: Kjetil brinchmann Halvorsen wrote: So I'm trying to use Ctrl-R to do reverse search in the history. Thia is what happens; I try to search for white: Here you say white in lower case

Re: bash history

2010-11-14 Thread Bob Proulx
Arnt Karlsen wrote: Bob wrote in message: Kjetil brinchmann Halvorsen wrote: (reverse-i-search)`wh': aptitude why patch --- After typing wh (without the quotes), it does not accept more letters! What you are missing is that the search is case sensitive. The Wh in White is *not*

Re: Bash history

2008-06-30 Thread Moises Brenes
2008/6/30 ciracusa [EMAIL PROTECTED]: Buenas Lista. Donde se especifica cada cuanto tiempo se limpia el bash_history de un usuario? En la variable de entorno $HISTSIZE, por defecto son 500 comandos que registra. Una vez borrado queda almacenado en algun historico? Hasta donde se no. --

Re: bash history

2008-01-22 Thread michael
On Thu, 2008-01-17 at 06:16 +0530, Raj Kiran Grandhi wrote: Vincent Lefevre wrote: On 2008-01-17 05:37:34 +0530, Raj Kiran Grandhi wrote: set -o histappend appends the history file instead of overwriting it. $ set -o histappend bash: set: histappend: invalid option name Sorry

Re: bash history

2008-01-18 Thread Vincent Lefevre
On 2008-01-17 15:18:23 +, Magnus Therning wrote: On 1/17/08, Vincent Lefevre [EMAIL PROTECTED] wrote: man zshoptions Look at all the options in the History section... Of course that was /exactly/ what I was hoping to /not/ have to do :-) Luckily there aren't more than 18 options

Re: bash history

2008-01-17 Thread Vincent Lefevre
On 2008-01-17 06:16:51 +0530, Raj Kiran Grandhi wrote: Vincent Lefevre wrote: But even if it can append commands, would bash do that *immediately*? It seems that bash can save the history only when it exits. By immediately, do you mean writing to the history file after every command? Yes

Re: bash history

2008-01-17 Thread Magnus Therning
Vincent Lefevre wrote: On 2008-01-16 18:38:08 -0500, Vikki Roemer wrote: On Jan 16, 2008 6:25 PM, Adam Hardy [EMAIL PROTECTED] wrote: I use alot of console windows in X as well as having shells and ssh shells open sometimes for the same user. I notice that bash doesn't save every command

Re: bash history

2008-01-17 Thread Magnus Therning
On 1/17/08, Vincent Lefevre [EMAIL PROTECTED] wrote: On 2008-01-17 09:54:42 +, Magnus Therning wrote: I'm a ZSH user, so do you have any pointers on how to do that? man zshoptions Look at all the options in the History section... Of course that was /exactly/ what I was hoping to

Re: bash history

2008-01-17 Thread Vincent Lefevre
On 2008-01-17 09:54:42 +, Magnus Therning wrote: I'm a ZSH user, so do you have any pointers on how to do that? man zshoptions Look at all the options in the History section... -- Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ 100% accessible validated (X)HTML - Blog:

Re: bash history

2008-01-16 Thread Vikki Roemer
On Jan 16, 2008 6:25 PM, Adam Hardy [EMAIL PROTECTED] wrote: I use alot of console windows in X as well as having shells and ssh shells open sometimes for the same user. I notice that bash doesn't save every command immediately and loses the history from simultaneous bash sessions, when they

Re: bash history

2008-01-16 Thread Александър Л . Димитров
Quoth Adam Hardy: I use alot of console windows in X as well as having shells and ssh shells open sometimes for the same user. I notice that bash doesn't save every command immediately and loses the history from simultaneous bash sessions, when they are not the last session to close. Is

Re: bash history

2008-01-16 Thread Vincent Lefevre
On 2008-01-16 18:38:08 -0500, Vikki Roemer wrote: On Jan 16, 2008 6:25 PM, Adam Hardy [EMAIL PROTECTED] wrote: I use alot of console windows in X as well as having shells and ssh shells open sometimes for the same user. I notice that bash doesn't save every command immediately and loses the

Re: bash history

2008-01-16 Thread Raj Kiran Grandhi
Adam Hardy wrote: I use alot of console windows in X as well as having shells and ssh shells open sometimes for the same user. I notice that bash doesn't save every command immediately and loses the history from simultaneous bash sessions, when they are not the last session to close. Is that

Re: bash history

2008-01-16 Thread Vincent Lefevre
On 2008-01-17 05:37:34 +0530, Raj Kiran Grandhi wrote: set -o histappend appends the history file instead of overwriting it. $ set -o histappend bash: set: histappend: invalid option name But even if it can append commands, would bash do that *immediately*? It seems that bash can save the

Re: bash history

2008-01-16 Thread Raj Kiran Grandhi
Vincent Lefevre wrote: On 2008-01-17 05:37:34 +0530, Raj Kiran Grandhi wrote: set -o histappend appends the history file instead of overwriting it. $ set -o histappend bash: set: histappend: invalid option name Sorry about that. It should be shopt -s histappend But even if it can append

Re: bash history

2008-01-16 Thread Kelly Clowers
On Jan 16, 2008 3:25 PM, Adam Hardy [EMAIL PROTECTED] wrote: I use alot of console windows in X as well as having shells and ssh shells open sometimes for the same user. I notice that bash doesn't save every command immediately and loses the history from simultaneous bash sessions, when they

Re: bash history search key binding

2006-02-26 Thread cga
Lei Kong wrote: [...] Thanks for your advice, but misteriously, it is back to normal now. I swear to god I didn't do anything, oh, wait, maybe I did an aptitude upgrade without even knowing about it. maybe your bash history was accidentally reset.. or lost its cd* commands .. maybe the

Re: bash history search key binding

2006-02-25 Thread cga
Lei Kong wrote: Hi all, I am using debian testing, and the bash version is 3.1.5. I have the following lines in my .bashrc to assign arrow keys to history search: bind '\M-[A:history-search-backward' bind '\M-[B:history-search-forward' what does $ bind -P | grep history say? It

Re: Re: bash history search key binding

2006-02-25 Thread Lei Kong
Hi all, I am using debian testing, and the bash version is 3.1.5. I have the following lines in my .bashrc to assign arrow keys to history search: bind '\M-[A:history-search-backward' bind '\M-[B:history-search-forward' what does $ bind -P | grep history say? It

Re: bash history too short ?

2005-09-07 Thread Kai Grossjohann
Perhaps different bashes overwrite each other's history? There is a setting for appending to the history, rather than overwriting it. Perhaps that helps? Kai -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: bash history löschen

2005-08-21 Thread Uwe Kerstan
* Frank Dietrich [EMAIL PROTECTED] [21-08-2005 15:31]: ::~$ cd /tmp/ ::/tmp$ mkdir LS ::/tmp$ cd LS ::/tmp/LS$ cp /bin/ls . ::/tmp/LS$ PATH=/tmp/LS:$PATH ::/tmp/LS$ ls ls ::/tmp/LS$ rm ls ::/tmp/LS$ ls bash: /tmp/LS/ls: Datei oder Verzeichnis nicht gefunden Mir fehlt

Re: bash history löschen

2005-08-21 Thread Jan Kohnert
Uwe Kerstan schrieb: * Frank Dietrich [EMAIL PROTECTED] [21-08-2005 15:31]: ::~$ cd /tmp/ ::/tmp$ mkdir LS ::/tmp$ cd LS ::/tmp/LS$ cp /bin/ls . ::/tmp/LS$ PATH=/tmp/LS:$PATH ::/tmp/LS$ ls ls ::/tmp/LS$ rm ls ::/tmp/LS$ ls bash: /tmp/LS/ls: Datei oder

Re: bash history löschen

2005-08-21 Thread Uwe Kerstan
* Jan Kohnert [EMAIL PROTECTED] [21-08-2005 16:02]: Mit history -c vergisst sie alle zuvor gespeicherten Eingaben. Den Befehl kenne ich, er bewirkt aber an dieser Stelle *nur* das Löschen der history. Man muss aber den Cache löschen, damit /bin/ls wieder gefunden wird. Ich werde mal in

Re: bash history löschen

2005-08-21 Thread Frank Dietrich
Hi Uwe, Uwe Kerstan [EMAIL PROTECTED] wrote: * Frank Dietrich [EMAIL PROTECTED] [21-08-2005 15:31]: Mir fehlt leider gerade der richtige Befehl, um diesen Cache wieder zu löschen - muss mal wieder man bash lesen. ;-) Mit history -c vergisst sie alle zuvor gespeicherten Eingaben.

Re: Bash History bereinigen von Doppeleinträgen

2003-01-12 Thread Wolfgang Bär
Dirk Haage wrote: On Sat, 11 Jan 2003 18:11:04 +0100 Wolfgang Bär wrote: HISTCONTROL=ignoredups in Deine .bashrc ein, lösche Deine bestehende History-Datei und log ^^ Das ist doch etwas hart, geht auch ohne, beim naechsten einloggen funktionieren dann auch noch

Re: Bash History bereinigen von Doppeleintrgen

2003-01-12 Thread Joerg Friedrich
Wolfgang Bär schrieb am Sonntag, 12. Januar 2003 um 12:57:08 +0100: Dirk Haage wrote: On Sat, 11 Jan 2003 18:11:04 +0100 Wolfgang Bär wrote: HISTCONTROL=ignoredups in Deine .bashrc ein, lösche Deine bestehende History-Datei und log ^^ Das ist doch etwas

Re: Bash History bereinigen von Doppeleinträgen

2003-01-12 Thread Thorsten Haude
Moin, * Joerg Friedrich [EMAIL PROTECTED] [2003-01-12 15:52]: Wolfgang Bär schrieb am Sonntag, 12. Januar 2003 um 12:57:08 +0100: Tja, geb ich Dir ja recht - aber wie man die bestehenden Duplikate rausbekommt wußte ich halt nicht, also die Idee einfach eine neue History aufzubauen - jetzt weiß

Re: Bash History bereinigen von Doppeleinträgen

2003-01-12 Thread Jan Trippler
On Son, 12 Jan 2003 at 12:57 (+0100), Wolfgang Bär wrote: Dirk Haage wrote: On Sat, 11 Jan 2003 18:11:04 +0100 Wolfgang Bär wrote: HISTCONTROL=ignoredups in Deine .bashrc ein, lösche Deine bestehende History-Datei und log ^^ Das ist doch etwas

Re: Bash History bereinigen von Doppeleinträgen

2003-01-12 Thread Karl-Heinz Eischer
Hi Thorsten, On Sun, Jan 12, 2003 at 04:17:06PM +0100, Thorsten Haude wrote: Moin, mv .bash_history hist_alt; uniq hist_alt .bash_history; rm hist_alt Das findet doch nur doppelte, die unmittelbar aufeinander folgen, oder? Ja, deshalb noch ein sort for dem uniq. Dann ist zwar die

Re: Bash History bereinigen von Doppeleinträgen

2003-01-12 Thread Dirk Haage
On Sun, 12 Jan 2003 15:42:22 +0100 Jan Trippler wrote: On Son, 12 Jan 2003 at 12:57 (+0100), Wolfgang Bär wrote: Dirk Haage wrote: On Sat, 11 Jan 2003 18:11:04 +0100 Wolfgang Bär wrote: HISTCONTROL=ignoredups in Deine .bashrc ein, lösche Deine bestehende History-Datei und

Re: Bash History bereinigen von Doppeleinträgen

2003-01-12 Thread Jan Trippler
On Son, 12 Jan 2003 at 15:52 (+0100), Joerg Friedrich wrote: [Doubletten aus .bash_history fischen] mv .bash_history hist_alt; uniq hist_alt .bash_history; rm hist_alt jan@k233:~/tmp$ cat unsorted abc xyz abc abc xyz jan@k233:~/tmp$ uniq unsorted abc xyz abc xyz uniq funktioniert nur bei

Re: Bash History bereinigen von Doppeleinträgen

2003-01-12 Thread Jan Trippler
On Son, 12 Jan 2003 at 17:04 (+0100), Dirk Haage wrote: On Sun, 12 Jan 2003 15:42:22 +0100 Jan Trippler wrote: [...] Um Doubletten rauszufischen, ohne die History gleich sortieren zu müssen, kann ein kleines Perl-Script nützlich sein: IIRC war die History beim naechsten einloggen

Re: Bash History bereinigen von Doppeleinträgen

2003-01-12 Thread Dirk Haage
On Sun, 12 Jan 2003 19:08:02 +0100 Jan Trippler wrote: On Son, 12 Jan 2003 at 17:04 (+0100), Dirk Haage wrote: On Sun, 12 Jan 2003 15:42:22 +0100 Jan Trippler wrote: [...] Um Doubletten rauszufischen, ohne die History gleich sortieren zu müssen, kann ein kleines Perl-Script nützlich

Re: Bash History bereinigen von Doppeleinträgen

2003-01-11 Thread Frank Dietrich
Hallo Thomas, Thomas Schönhoff wrote: ich überlege gerade, wie ich Doppeleinträge in der Bash History per Skript löschen könnte!? Warum denn so umständlich? man bash Stichwort HISTCONTROL das in die gewünschte .bashrc eintragen und fretig ists. mit Gruss Frank -- Häufig

Re: Bash History bereinigen von Doppeleintrgen

2003-01-11 Thread Wolfgang Br
Hallo Thomas, Thomas Schönhoff wrote: Hallo, ich überlege gerade, wie ich Doppeleinträge in der Bash History per Skript löschen könnte!? Ne, keine Ahnung - aber wie Du Doppeleinträge verhindern kannst. Füge HISTCONTROL=ignoredups in Deine .bashrc ein, lösche Deine bestehende History-Datei

Re: Bash History bereinigen von Doppeleintrgen

2003-01-11 Thread Martin Samesch
Hallo Thomas, Thomas Schönhoff wrote: Hallo, ich überlege gerade, wie ich Doppeleinträge in der Bash History per Skript löschen könnte!? Aus dem Linux Anwenderhandbuch: ~/.bash_logout wird beim Verlassen der Login-Shell ausgeführt. Diese Datei kann beispielsweise folgende Zeilen

Re: Bash History bereinigen von Doppeleinträgen

2003-01-11 Thread Dirk Haage
On Sat, 11 Jan 2003 18:11:04 +0100 Wolfgang Bär wrote: HISTCONTROL=ignoredups in Deine .bashrc ein, lösche Deine bestehende History-Datei und log ^^ Das ist doch etwas hart, geht auch ohne, beim naechsten einloggen funktionieren dann auch noch die alten Kommandos

Re: bash history file

2002-02-01 Thread Ian Balchin
On Wed, Jan 30, 2002 at 08:07:10PM -0800, Karsten M. Self wrote: on Wed, Jan 30, 2002 at 08:57 PM +0200, Ian Balchin ([EMAIL PROTECTED]) wrote: Hi, My commands are no longer recorded in .bash_history HISTFILE. HISTFILESIZE, HISTSIZE are all set. What have i done? This is

Re: bash history file

2002-01-30 Thread Karsten M. Self
on Wed, Jan 30, 2002 at 08:57 PM +0200, Ian Balchin ([EMAIL PROTECTED]) wrote: Hi, My commands are no longer recorded in .bash_history HISTFILE. HISTFILESIZE, HISTSIZE are all set. What have i done? This is apparent in my user login, commands as root are still recorded. Thanks for

Re: bash history

2002-01-03 Thread Gustavo Noronha Silva
On Fri, 4 Jan 2002 00:05:43 -0200 Joel Franco Guzmán [EMAIL PROTECTED] wrote: Olá pessoal, Dúvidas sobre o funcionamento do history no bash. Achei que a var de controle do histórico de comandos do bash é HISTSIZE e o tamanho do arquivo de histórico controlado por HISTFILESIZE.