1
rated 0 times
[
1]
[
0]
/ answers: 1 / hits: 16887
/ 3 Years ago, tue, september 14, 2021, 10:30:20
On a few of my ubuntu installations, when I run sudo su
and become sudo user, I can type history and view a list of commands run as sudo user. However, on my one ubuntu installation, for some reason when I run sudo su
and type history
, I just get this:
$ sudo su
# history
1 history
But I know for certain that a lot of commands were run as sudo user, but when I ssh out and ssh back into my ubuntu server, they do not display, like how they do on the other servers. Do I have some switch or something disabled on this one server? How can I regain access to view the history of commands run as sudo user?
More From » command-line