The Monday 2003-12-29 at 07:13 -0000, pinto wrote:
On Monday 29 December 2003 02:29, Carlos E. R. wrote:
it doesn't show _one_ precise command, namely the last one typed, ie, shutdown?
SuSE 9.0 _________
Reverse Search ( Cntrl R ) does not show < shutdown >
Browse the file '/root/.bash_history'. Most probably, "shutdown" is not there, therefore, there is nothing wrong with "^R" in bash. My guess is that the terminal or console is killed forcibly before bash can save its own history. Or, you have typed so many commands on the next session that it shot out of the file. Or you have another open terminal that does save its own history overwriting the one that had "shutdown" on it. Browsing the file just after booting up might clarify what happened, if you remember what you typed before the last command. If that is a problem for you, create a '/root/bin/haltscript' file containing the precise shutdown command you need. -- Cheers, Carlos Robinson