Mike, Thanks, I was unaware of HISTCONTROL.
Paul On 6 February 2010 09:06, Jan Schampera <jan.schamp...@web.de> wrote: > Mike Frysinger schrieb: > >>> When using the bash shell in an xterm or rxvt terminals at least, >>> commands executed which start with a space, eg " ls" are not added to >>> the command line history and so are not accessible by ctrl-p. >> >> this is by design >> -mike > > This is controlled by the HISTCONTROL and probably HISTIGNORE variables. > Unless I misunderstood the question. > > J. >