Last active
June 9, 2023 17:16
-
-
Save sachsgit/dd0aa9cadb99f5855b869c25a1675799 to your computer and use it in GitHub Desktop.
Common Aliases for BASH
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
#!/usr/bin/bash | |
alias .......='cd ../../../../../..' # 6 Back | |
alias ......='cd ../../../../..' # 5 Back | |
alias .....='cd ../../../..' # 4 Back | |
alias ....='cd ../../..' # 3 Back | |
alias ...='cd ../..' # 2 Back | |
alias ..='cd ..' # 1 Back | |
### Regular Aliases | |
### A | |
### B | |
### C | |
alias cp='cp -i' | |
alias cr="clear;cd $HOME" | |
alias cx='chmod +x' | |
### D | |
alias die='kill -9' | |
### E | |
alias excuse='telnet bofh.engr.wisc.edu 666' | |
alias excel='/C/Program\ Files\ \(x86\)/Microsoft\ Office/root/Office16/EXCEL.EXE' | |
### F | |
alias fg0='find . -type f -print0 | xargs -0 grep $*' | |
### G | |
### H | |
alias h='history' | |
### I | |
alias insult='telnet insulthost.colorado.edu 1695' | |
### J | |
alias j='jobs -l' | |
### K | |
### L | |
alias lo='exit' | |
alias ls='ls -F --color --show-control-chars' | |
### M | |
alias mv='mv -i' | |
alias mcd="if [ ! -d ${1} ]; then mkdir ${1}; fi ; cd $1" | |
alias mci='mvn clean install' | |
### N | |
### O | |
### P | |
alias perl='/C/Strawberry/perl/bin/perl.exe' | |
### Q | |
### R | |
### S | |
alias s.a=". $HOME/.bash_aliases" | |
### T | |
### U | |
### V | |
### W | |
### X | |
### Y | |
### Z | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment