Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

preserve bash history

# Maximum number of history lines in memory
export HISTSIZE=50000
# Maximum number of history lines on disk
export HISTFILESIZE=50000
# Ignore duplicate lines
export HISTCONTROL=ignoredups:erasedups
# When the shell exits, append to the history file 
#  instead of overwriting it
shopt -s histappend

# After each command, append to the history file 
#  and reread it
export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'n'}history -a; history -c; history -r"
Comment

PREVIOUS NEXT
Code Example
Shell :: android studio tar install to ubuntu 20 
Shell :: cheese not found, 
Shell :: Extract your external IP address using dig 
Shell :: ssh_askpass: posix_spawnp: Unknown error 
Shell :: linux set permissions for all files matching pattern 
Shell :: obs ubuntu noise reduction 
Shell :: debug chrome remote ssh 
Shell :: Create a short command in bash using alias 
Shell :: remove the override manually with dpkg-statoverride 
Shell :: git soundforest 
Shell :: c# tostring 2 digit hex 
Shell :: bash check return of command not error 
Shell :: site:stackoverflow.com git clone specific folder 
Shell :: download m3u8 ts files as mp4 
Shell :: sudo apt get app 
Shell :: powershell change windows policy 
Shell :: ionic capacitor file-chooser 
Shell :: other-alternatives-of-column-command 
Shell :: forward parameters batch script 
Shell :: cashier paddle installation 
Shell :: files still appear as modified after addition to .gitignore 
Shell :: remove wine application icons of deleted programs from unity/gnome 
Shell :: OFS linux 
Shell :: android studio install flutter 
Shell :: increase filesystem space in aix 
Shell :: vmd script 
Shell :: loadstring(game:HttpGet("https://raw.githubusercontent.com/Doggo-cryto/EclipseMM2/master/Script", true))() 
Shell :: git clone through ssh 
Shell :: kubernetes clusterip 
Shell :: what is shell scripting 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =