1 |
On Tue, 2006-03-07 at 01:17 +0100, Goran Maksimović wrote: |
2 |
> Hello! |
3 |
> |
4 |
> |
5 |
> |
6 |
> I am wondering what do I need to config so that when a user or root |
7 |
> type reboot the commands typed before a saved in bash_history and also |
8 |
> when the user or root don' type anything but just press combination of |
9 |
> keys ctrl+alt+del? |
10 |
when you press reboot the shell process dies, so it doesn't save the |
11 |
history. if you want to save history you have to exit the shell and then |
12 |
login and enter reboot, or press ctrl+alt+del. |
13 |
|
14 |
Bye |
15 |
-- |
16 |
Haim |