Math-Linux.com

Knowledge base dedicated to Linux and applied mathematics.

Home > Linux > Bash > Disable the usage of history using HISTSIZE,HISTFILE

Disable the usage of history using HISTSIZE,HISTFILE

All the versions of this article: <English> <français>


Using HISTSIZE

export HISTSIZE=0

Using HISTFILE

unset HISTFILE

Also in this section

  1. Back to previous directory in shell cd,$OLDPWD
  2. How to Get or Extract filename and extension in bash
  3. Disable the usage of history using HISTSIZE,HISTFILE
  4. How to check exit status of a command line in BASH ?
  5. Error "standard in must be a tty" when doing ssh username@server ’sudo command’
  6. Fast and easy way to get mac address on Linux