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.

有帮助吗?

解决方案

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

cat ~/.bash_history
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top