ralph332.bsky.social reposted
ralph332.bsky.social
ralph332.bsky.social reposted
ralph332.bsky.social reposted
ralph332.bsky.social reposted
Want to to delete all `foo` commands from your bash history. Here is how to do it with some bash kung-fu: line=$(history | grep 'foo' | awk '{ print $1 }' | sort -r) history -d $line See www.cyberciti.biz/faq/delete-c... for more info. #unix #linux #history #macos #freebsd
cyberciti.bizHow to delete a single command from history on a Linux/Unix Bash shellExplains how to delete and clear the bash command line terminal history for given single command line number or all history once on a Linux, macOS & Unix.
ralph332.bsky.social reposted
You are up to date.