Linux Useful Command
The useful command can let you use the command line more efficiently
Convert linefeeds for all files in a folder | Bravehartk2’s Blog"
find . -type f -print0 | xargs -P 4 -0 -n 1 dos2unix
How to remove duplicates and sort entries in zsh history - Quora
cat -n .zsh_history | sort -t ';' -uk2 | sort -nk1 | cut -f2- > .zsh_short_history
# remove all file sudo rm -rf /run/log/journal/* # or sudo journalctl --vacuum-time=1seconds sudo journalctl --vacuum-size=0M
Last modified March 17, 2023: update (cdf1f69)