Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to delete command from terminal history

## Delete the bash history entry at offset OFFSET ##
history -d offset
history -d number
history -d 1013
Comment

delete command from history

Just check the enumeration of your commands history and then delete them:
history -d 7 #Deletes seventh command in your history list
Comment

PREVIOUS NEXT
Code Example
Shell :: hard vs soft links linux 
Shell :: terminal delete directory 
Shell :: change desktop icon size ubuntu 
Shell :: what is github 
Shell :: open current folder in terminal linux 
Shell :: find ip curl 
Shell :: intel pinning threads 
Shell :: npm install latest available packages 
Shell :: what is kernel and shell 
Shell :: shell script store command output in variable 
Shell :: install ubuntu on wsl 
Shell :: gitignore not working 
Shell :: ubuntu dot to png 
Shell :: install couchdb ubuntu 18.04 
Shell :: install pip ubuntu 
Shell :: bash find file 
Shell :: bash replace specific line in file 
Shell :: clone repo 
Shell :: move a file to /opt 
Shell :: Pyserial is not installed for /Applications/Xcode.app/Contents/Developer/usr/bin/python3 macos 
Shell :: how to check process id in linux 
Shell :: dconf command not found 
Shell :: watchman installation 
Shell :: bash get lines between 
Shell :: create public and private key for jwt 
Shell :: windows to linux ssh without password 
Shell :: when hostname ansible 
Shell :: how to archive files in linux 
Shell :: linux check if screen is running 
Shell :: check g++ on ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =