Last active
March 8, 2021 09:10
-
-
Save pnlrogue1/7d8b72e053b819faf3d458bbbead14f6 to your computer and use it in GitHub Desktop.
Useful Linux Aliases
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
# Put this in the .bashrc or .zshrc (or equivalent) file | |
alias please='sudo $(fc -ln -1)' # Repeats the previous command with "sudo" in front of it | |
alias noprox='$(fc -ln -1) -o ProxyCommand=none' # Used for when you need to SSH without a proxy but your config defaults to using one | |
alias python_upgrade="pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment