Linux history size

​it is possible for Linux to remember last few commands that user had entered. Historical commands can be retrieved with the up arrow key. Each pressing of that key will retrieve one more command from the history. If you don’t want any of the commands to be stored in history, then set history size to 0. It can be done with the following command:

HISTSIZE=0

It will apply this change to current session only. If this change needs to be applied always when the session is started for a user, then this change needs to be applied to shell startup files.

YouTube video

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator