They both get logged to the same history file. This can be seen if you run the following command:
set -o vi
Then use the 'Esc' key and 'k' to cycle back through the commands. You will find that more than just your commands are in the history file at this point.
You shouldn't, but I just tested on my RH9 box and it seems that this does not work like it used to in the past. So at this point I would say that you cannot based on what I am seeing right now.
I know that in unix you can, but it seems linux has changed this function.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.