Last active
July 20, 2019 08:03
-
-
Save ktkr3d/deb64a43aa13feb9cbcf to your computer and use it in GitHub Desktop.
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
# proxy authentication setting to 'proxy.example.com:8080' | |
alias proxy='read -p "user: " proxy_user && read -sp "pass: " proxy_pass && echo && export {http,https,ftp}_proxy="http://$proxy_user:$proxy_pass@proxy.example.com:8080"' | |
# Update installed packages | |
alias upd='sudo apt update -y && sudo apt dist-upgrade && sudo apt autoremove -y' | |
# Change locale | |
alias en='export LC_ALL=en_US.UTF8' | |
alias ja='export LC_ALL=ja_JP.UTF8' | |
# ssh to remote host in local network | |
function sshu() { | |
command ssh ubuntu@192.168.11.$1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment