Created
November 4, 2019 10:57
-
-
Save nfedyashev/bbebb3d6880b59f4520f1bffd4c5720d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias whitespace='find . -not \( -name .svn -prune -o -name .git -prune \) -type f -print0 | xargs -0 file -In | grep -v binary | cut -d ":" -f1 | xargs -0 sed -i '' -E "s/[[:space:]]*$//"' |
alias ikill="ps aux | percol | awk '{ print $2 }' | xargs kill"
alias history_sort='history | cut -c 8- | sort | uniq -c | sort -rn'
alias df='df -h'
alias du='du -h'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
alias prettify_json='python -mjson.tool'