history

To get history show time

history -a will append your current session history to the content of the history file.

history -w will replace the content of the history file with your current session history.

Linux Server show IP address in history

Leave a Reply

Your email address will not be published. Required fields are marked *