Skip to content

Instantly share code, notes, and snippets.

@towshif
Last active December 18, 2018 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save towshif/bba124a507d1f7513118977c7dd591ae to your computer and use it in GitHub Desktop.
Save towshif/bba124a507d1f7513118977c7dd591ae to your computer and use it in GitHub Desktop.
# bash-aliases@https://gist.github.com/towshif/
# Add this to .bashrc .zshrc # Or run script to append to .bashrc #check manually after run
# $ curl https://gist.githubusercontent.com/towshif/bba124a507d1f7513118977c7dd591ae/raw/22f26f731f0349c2b0fcd170dc33eca93e3c561e/bash-aliases.sh >> ~/.bashrc
#
alias df="df -Tha --total"
alias du="du -ach | sort -h"
alias free="free -mht"
alias ps="ps auxf"
alias psg="ps aux | grep -v grep | grep -i -e VSZ -e"
alias mkdir="mkdir -p"
alias mkdir="mkdir -pv"
alias wget="wget -c"
alias histg="history | grep"
alias top="htop"
alias du="ncdu"
alias df="pydf"
alias myip="curl http://ipecho.net/plain; echo"
alias webify="mogrify -resize 690\> *.png"
alias upload="sftp username@server.com:/path/to/upload/directory"
alias venv="source /home/towshif/venv/bin/activate"
# end bash-aliases@https://gist.github.com/towshif/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment