Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

removing portion of history from terminal mac

for i in `history | awk 'NR > 1 && NR <=150{print   $1}'`; do history -d $i; done
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #removing #portion #history #terminal #mac
ADD COMMENT
Topic
Name
5+9 =