[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bash history



Hola!

This is debian squeeze amd64. I am reading the laudauble site
http://www.markus-gattol.name/ws/bash.html

about using bash history.

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":

kjetil@kjetil:~$ history | tail
  284  Sunday  2010-11-14  [19:37:03 -0300] history 10
  285  Sunday  2010-11-14  [19:37:03 -0300] cat .bash_history | grep wget
  286  Sunday  2010-11-14  [19:37:03 -0300] history | head
  287  Sunday  2010-11-14  [19:37:03 -0300] du
  288  Sunday  2010-11-14  [19:37:03 -0300] echo "White cat"
  289  Sunday  2010-11-14  [19:37:03 -0300] !
  290  Sunday  2010-11-14  [19:37:03 -0300] echo "White cat"
  291  Sunday  2010-11-14  [19:37:03 -0300] echo "Black duck" echo "Black duck"
  292  Sunday  2010-11-14  [19:37:03 -0300] aptitude why patch
  293  Sunday  2010-11-14  [19:42:01 -0300] history | tail
(reverse-i-search)`wh': aptitude why patch

--- After typing "wh" (without the quotes), it does not accept more
letters!

Why? What am I doing wrong?

Kjetil

-- 
"If you want a picture of the future - imagine a boot stamping on the
human face - forever."

George Orwell (1984)


Reply to: