Answers for "removing portion of history from terminal mac"

0

removing portion of history from terminal mac

for i in `history | awk 'NR > 1 && NR <=150{print   $1}'`; do history -d $i; done
Posted by: Guest on July-31-2021

Code answers related to "removing portion of history from terminal mac"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language