Last active
February 7, 2019 18:52
-
-
Save bmatthewshea/a8615cde1c843c34bbc4a6f8d853c4c2 to your computer and use it in GitHub Desktop.
My Ubuntu ~/.bash_aliases
This file contains hidden or 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
# SUDO | |
alias sw='sudo -u www-data' | |
alias beroot='sudo su -' | |
# NANO | |
alias e='nano -\$wcS' | |
alias se='sudo nano -\$wcS' | |
# FILE-LISTS | |
alias l='ls -lah' | |
# PS TREE FORMAT | |
alias ps='/bin/ps auxfwww' | |
alias psdetail='/bin/ps -Af fwww' | |
# SYSTEM-UPGRADES AUTOREMOVE FIRST | |
alias system_upgrade='echo; \ | |
sudo echo -n "Current Distribution: "; lsb_release -sd; \ | |
echo; \ | |
sudo apt update && echo && \ | |
sudo apt autoremove && \ | |
sudo apt upgrade && \ | |
echo && \ | |
sudo apt autoremove;' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment