Created
May 4, 2016 19:37
-
-
Save leowebguy/26a866e1e38ee75bb4912e6a558144ff to your computer and use it in GitHub Desktop.
My bash_profile for linux
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
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
alias ls='ls -GFh' | |
# alias ls='ls --color' | |
# Aliases | |
# alias ls='ls -al' | |
# alias pl='pwd; ls' | |
alias ren='mv' | |
alias profile='nano ~/.bash_profile' | |
# alias refresh='source ~/.bash_profile' | |
alias src='source ~/.bash_profile' | |
# alias c='clear' | |
# alias e='exit' | |
# alias update='apt-get upgrade' | |
# alias cron='crontab -e' | |
alias cd..='cd ..' | |
alias ..='cd ..' | |
alias ...='cd ../../../' | |
alias ....='cd ../../../../' | |
alias now='date +"%T"' | |
alias ping='ping -c 5' | |
alias fping='ping -c 100 -s.2' | |
alias wget='wget -c' | |
alias myip='curl http://ipecho.net/plain; echo' | |
# alias whitelist='/scripts/cphulkdwhitelist ' | |
# alias fod='cd /; cd /home/deploy/public_html; chown -R deploy:deploy ./*' | |
# alias fos='cd /; cd /home/shared/public_html; chown -R shared:shared ./*' | |
# alias leo='cd /; cd /home/deploy/public_html/leowebdev;' | |
# alias bundle='bundle exec guard;' | |
# alias b='bundle exec guard;' | |
# alias leob='cd /; cd /home/deploy/public_html/leowebdev; bundle exec guard;' | |
# alias deploy='cd /; cd /home/deploy/public_html;' | |
# alias shared='cd /; cd /home/shared/public_html;' | |
# alias nlife='cd /; cd /home/deploy/public_html/wp045_nlife/wp-content/themes/newlife-child;' | |
# alias nlifeb='cd /; cd /home/deploy/public_html/wp045_nlife/wp-content/themes/newlife-child; bundle exec guard;' | |
# alias puf='cd /; cd /home/deploy/public_html/wp027_puf/wp-content/themes/puffin-child;' | |
# alias pufb='cd /; cd /home/deploy/public_html/wp027_puf/wp-content/themes/puffin-child; bundle exec guard;' | |
# alias ffmb='cd /; cd /home/deploy/public_html/bs017_ffm; bundle exec guard;' | |
# alias ds=find / -mount -noleaf -type f -size +10000k -print0 | xargs -0 ls -lhSr | perl -ne '/(\S+\s+){4}(\S+)\s+(\S+\s+){3}(.*)/ and printf("%*s %s\n",7,$2.":",$4);' | |
# alias df='df -h' | |
# alias diskh="du -m /var/www/vhosts/deploy.com/httpdocs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment