1.

Solve : SSH commands are stored??

Answer»

Running a CentOS 5 server. I know the 'up' and 'down' arrows toggle through the recent commands used on the server when I'm logged in as root. ANYONE know what file these 'recent commands' are stored in or the name of the LOG file?

Regards,
NM, found it. /root/.bash_historyActually, they're saved in ~/.bash_history, which is the file you found when you are logged in a root. But each user has his own history file.

You might also want to look at the INFORMATION that this command DISPLAYS:
HELP history



Discussion

No Comment Found