Show IP address in history
On Linux Server, history command shows previously executed commands. If you have many people working on a server, it is
history
To get history show time history -a will append your current session history to the content of the history file.