Last active
October 24, 2024 11:09
-
-
Save okurka12/cc3769db8e6f57dfdf091428095b7e00 to your computer and use it in GitHub Desktop.
my favorite 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
# | |
# My favorite aliases for bash | |
# | |
# for vanilla debian installations (where there's no poweroff cmd) | |
alias shutdown='sudo systemctl poweroff' | |
alias poweroff='sudo systemctl poweroff' | |
# those can be uncommented directly in .bashrc but why not have it here | |
alias grep='grep --color=auto' | |
alias ll='ls -l' | |
alias la='ls -A' | |
# my favorite ones | |
alias s='source' | |
alias ..='cd ..' | |
alias gits='git status' | |
alias gitc="git commit" | |
alias gitp="git push" | |
alias gita='git add' | |
alias gitcm='git commit -m' | |
alias gitp='git push' | |
alias py=python3.13 | |
alias py12=python3.12 | |
alias llh="ls -l -h" | |
alias vgall="valgrind -s --leak-check=full --show-leak-kinds=all --track-origins=yes --track-fds=yes --num-callers=60" | |
alias lnhelp="echo ln -s TARGET LINK_NAME" | |
# *nix/windows duality (aliases to not get mad when you use both linux and win) | |
alias ipconfig='ip addr' | |
alias dir='ls' | |
alias where=whereis | |
alias ipconfig='ip -c addr' | |
alias cls=clear | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment