DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+9 =
Submit