Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

to remember all commands typed in multiple terminal

# Avoid duplicates
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
PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'
'}history -a; history -c; history -r"
Comment

PREVIOUS NEXT
Code Example
Shell :: enable podman behavior as docker 
Shell :: install curecoin-qt on mint 19 
Shell :: Failed to load module. If you have prettier or plugins referenced in package.json, ensure you have run `npm install` 
Shell :: mac osx find local mail attachments 
Shell :: increment version powershell 
Shell :: powershell recursive copy skip if file already exists 
Shell :: pip install win32api 
Shell :: linux change filename batch 
Shell :: set gcc path to vscode in ubuntu 
Shell :: debian show auto install package 
Shell :: visual basic code syntax 
Shell :: hadoop get files 
Shell :: full stack roadmap github 
Shell :: spigot start.bat code 
Shell :: select an object based a field which is like a string jq 
Shell :: awk alternative linux 
Shell :: Ubuntu Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 15551 (apt) 
Shell :: mark drive as faulty mdadm linux 
Shell :: watchman Makefile:4446: scm/watchman-Mercurial.o] Error 1 
Shell :: linux check defragnmentation of disk 
Shell :: ray core file 
Shell :: The command below uses du, sort, and head to show the top five largest files, starting from your /home directory: 
Shell :: nmap script location in kali 
Shell :: Case/switch 
Shell :: npm uninstall ngrok npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! 
Shell :: command to install and initialize React Helmet 
Shell :: android logs for app on terminal 
Shell :: ssh key for github 
Shell :: powershell datetime to string 
Shell :: copy commit in another branch 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =