Skip to content

Instantly share code, notes, and snippets.

@elena-kolevska
Created November 18, 2013 00:53
Show Gist options
  • Save elena-kolevska/7520617 to your computer and use it in GitHub Desktop.
Save elena-kolevska/7520617 to your computer and use it in GitHub Desktop.
My .bashrc file (Linux)
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
alias pa="php artisan"
alias tsp="cd /var/www/html/tsp/theservicepro.net"
alias spb="cd /var/www/html/nnw/sportbook.com.vc"
alias gm="cd /var/www/html/tenflares/groupmarks"
alias lmas="cd /var/www/html/nnw/lmas"
alias bsh="sudo gedit ~/.bashrc"
alias vpn="sudo openvpn /etc/openvpn/servicepro.ovpn"
alias chm="sudo chmod -R 777 "
alias cho="sudo chown -R elvie:apache "
alias sshkey="cat ~/.ssh/id_rsa.pub | pbcopy && echo 'Copied to clipboard.'"
alias pbcopy='xsel --clipboard --input'
alias pbpaste='xsel --clipboard --output'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment