Last active
March 23, 2021 10:08
-
-
Save thomasaarholt/e9621ab1202498f61c808f7410c22b8a to your computer and use it in GitHub Desktop.
.profile used on Machine Learning Cluster
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
echo 'Hello Thomas - edit PATH using "profile"' | |
alias ls="ls --color" | |
alias cd..='cd ../' # Go back 1 directory level (for fast typers) | |
alias cd...='cd ../../' | |
alias ..='cd ../' # Go back 1 directory level | |
alias ...='cd ../../' # Go back 2 directory levels | |
alias .3='cd ../../../' # Go back 3 directory levels | |
alias .4='cd ../../../../' # Go back 4 directory levels | |
alias .5='cd ../../../../../' # Go back 5 directory levels | |
alias .6='cd ../../../../../../' # Go back 6 directory levels | |
alias n='nvidia-smi' # Check GPU status | |
alias python="python3" | |
alias py="python3" | |
alias profile="vim ~/.bash_profile" | |
# instead of binding separately in inputrc | |
bind '"\e[A": history-search-backward' | |
bind '"\e[B": history-search-forward' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment