Skip to content

Instantly share code, notes, and snippets.

@nortikin
Forked from artemsites/.bashrc
Created May 4, 2020 22:53
Show Gist options
  • Save nortikin/f9945a53883ff75470ee93211f2c0e08 to your computer and use it in GitHub Desktop.
Save nortikin/f9945a53883ff75470ee93211f2c0e08 to your computer and use it in GitHub Desktop.
.bashrc aliases collection
# sudo gedit ~/.bashrc
alias subl="subl3"
alias st="subl3"
alias lampp="sudo /opt/lampp/lampp start"
alias lampp-start="sudo /opt/lampp/lampp start"
alias lampp-stop="sudo /opt/lampp/lampp stop"
alias lampp-status="sudo /opt/lampp/lampp status"
alias lampp-restart="sudo /opt/lampp/lampp restart"
alias start="sudo pppoe-start"
alias restart="pppoe-restart"
alias stop="pppoe-stop"
alias status="pppoe-status"
alias rename-u-t-l='ls | while read -r FILE
do
mv -v "$FILE" `echo $FILE | tr ' ' '_' | tr -d '[{}()@=%&;:^$#~,\!]' | tr -d "\'" | tr '[A-Z]' '[a-z]' | sed 's/_-_/_/g'`
done '
# Terminal command for reload .bashrc:
# source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment