Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

removing portion of history from terminal mac

for i in `history | awk 'NR > 1 && NR <=150{print   $1}'`; do history -d $i; done
Comment

PREVIOUS NEXT
Code Example
Shell :: cache clear env prod symfony 3.4 
Shell :: git first time 
Shell :: github bullet points 
Shell :: download clamav via terminal 
Shell :: kill proccess using serial port 
Shell :: 2 digit after the coma pytohn 
Shell :: bash delete the last line of a file 
Shell :: linux scp 
Shell :: -eq shell script 
Shell :: default gatsby typescript started 
Shell :: oh-my-posh autosuggestions 
Shell :: needs merge error: you need to resolve your current index first 
Shell :: sudo !! alias 
Shell :: heroku push non master branch 
Shell :: shellpish 
Shell :: docker compose up from another file 
Shell :: chown -R www-data:www-data 
Shell :: conda install pdftotext 
Shell :: untar ubuntu 
Shell :: REMOTE HOST IDENTIFICATION HAS CHANGED! how to fix in ubuntu 
Shell :: bash if statement 
Shell :: -v /var/run/docker.sock jenkins/jenkins 
Shell :: git merge master to branch 
Shell :: bash debug show line numbers 
Shell :: git delete commit 4785cd1e041 
Shell :: how to get unmerged branch git 
Shell :: grep capture group 
Shell :: git remove all tracked files after add in git ignoore 
Shell :: apache disable tls 1.0 
Shell :: which linux 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =