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 :: linux list user groups 
Shell :: setup git config for multiple accounts 
Shell :: apple logo in terminal 
Shell :: vlc ubuntu 
Shell :: split string and create array bash 
Shell :: how to setup ubuntu for windows in visual studio code 
Shell :: git merge without commit 
Shell :: docker start exited container 
Shell :: push existing repo 
Shell :: find files size greater than 100mb in linux 
Shell :: curl download file without output 
Shell :: how to port-forward k8s on server 
Shell :: update composer mac 
Shell :: install radeon drivers ubuntu 
Shell :: npm cors api use 
Shell :: export variable bash 
Shell :: raspberry pi install vscode via command line 
Shell :: how to activate virtual environment in ubuntu 
Shell :: laravel sail composer 
Shell :: install latest node js ubuntu 
Shell :: github git init main 
Shell :: docker disable auto start 
Shell :: mongodb start 
Shell :: create user with home directory ubuntu 
Shell :: unix get epoch in miliseconds shell 
Shell :: javascript to exe 
Shell :: bash case statement 
Shell :: download composer 
Shell :: git log 
Shell :: install chocolatey on windows 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =