Question

Heading

When I type history, the output seems to tie to the current terminal. How can I view history of commands typed in other terminals by the same user? Thanks.

Était-ce utile?

La solution

Below command will shows the total history of commands entered on the terminal,

cat ~/.bash_history
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top