-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbash_alias
46 lines (36 loc) · 1.15 KB
/
bash_alias
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# .bash_alias sourced in .bashrc
alias h='history 25'
alias cls='clear'
alias lynx='lynx --vikeys'
alias info='info --vi-keys'
alias v="view"
alias psme='\ps -ef | egrep "(^UID|^$USER)"'
alias rehash='hash -r'
alias mak='make'
alias ant='ant -logger org.apache.tools.ant.listener.AnsiColorLogger'
alias grep='/bin/grep --color=auto'
alias g='grep -riI'
alias eg='env|g'
alias ls='ls --color=auto -hF'
alias ll='ls -l'
alias la='ls -A'
alias lla='ls -lA'
alias lc='ls -l *.{C,H,caj,meta,mph} 2 > /dev/null'
alias dir='ls --color=auto --format=long'
alias ep='echo $PATH | tr ":" "\n" '
alias el='echo $LD_LIBRARY_PATH | tr ":" "\n" '
alias em='echo $MANPATH | tr ":" "\n" '
alias ec='echo $CLASSPATH | tr ":" "\n" '
alias es='echo $SHELL | tr ":" "\n" '
alias be='boss :exit'
alias br='boss :report'
alias bl='boss :long'
alias bll='boss :loglevel'
alias bo='boss :oneshot'
alias bk='boss :kill'
alias bw='boss :who'
alias goro='sudo su -'
alias ipconfig='ifconfig'
command -v colordiff > /dev/null 2>&1 && alias diff='colordiff -u'
command -v htop > /dev/null 2>&1 && alias top=htop
alias freq='cut -f1 -d" " ~/.bash_history | sort | uniq -c | sort -nr | head -n 30'