Skip to content

Instantly share code, notes, and snippets.

@subinamathew
Last active February 26, 2020 09:12
Show Gist options
  • Save subinamathew/3d08cae86fac2f58c9abc9e8f560b831 to your computer and use it in GitHub Desktop.
Save subinamathew/3d08cae86fac2f58c9abc9e8f560b831 to your computer and use it in GitHub Desktop.
a list of some alias in my mac
alias ip='ifconfig | grep 192 && ping -c3 www.google.com'
alias http='python -m SimpleHTTPServer 35571'
alias cls='clear'
alias ups='cd /Users/-/Desktop/time && echo up >> abc.txt && uptime >> abc.txt'
alias downs='cd /Users/-/Desktop/time && echo down >> abc.txt && uptime >> abc.txt'
alias chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"
alias firefox="/Applications/Firefox.app/Contents/MacOS/firefox"
alias killall='docker kill $(docker ps -q)'
alias removealli='docker rmi $(docker images -q)'
alias removeallc='docker rm $(docker ps -a -q)'
### zsh
alias xxx='source ~/.zshrc' #restart zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment