Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Tags
#bash #unix
Question
Set the file used to save the history
Answer

by setting HISTFILE (HISTFILE=~/somehistoryfile). You can disable it completely by unsetting the variable with unset HISTFILE.

If you disable the history file, you still have access to run-time history while the shell is running.

You can also set HISTFILESIZE to control the amount of commands saved in the file.


Tags
#bash #unix
Question
Set the file used to save the history
Answer
?

Tags
#bash #unix
Question
Set the file used to save the history
Answer

by setting HISTFILE (HISTFILE=~/somehistoryfile). You can disable it completely by unsetting the variable with unset HISTFILE.

If you disable the history file, you still have access to run-time history while the shell is running.

You can also set HISTFILESIZE to control the amount of commands saved in the file.

If you want to change selection, open document below and click on "Move attachment"

Second terminal without history - Unix & Linux Stack Exchange
ory (note the inverted plus and minus). With history disabled, commands entered will not be saved in the history log, but previous ones will be available. Set the file used to save the history, <span>by setting HISTFILE (HISTFILE=~/somehistoryfile). You can disable it completely by unsetting the variable with unset HISTFILE. If you disable the history file, you still have access to run-time history while the shell is running. You can also set HISTFILESIZE to control the amount of commands saved in the file. Prevent saving certain commands in the history by using HISTCONTROL and/or HISTIGNORE . Setting HISTCONTROL to ignorespace will tell the shell to not save command lines starting with a

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.