forked from n0use/sh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalias
More file actions
32 lines (24 loc) · 979 Bytes
/
alias
File metadata and controls
32 lines (24 loc) · 979 Bytes
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
alias j='jobs'
alias l.='ls -d .* -G'
alias la='ls -latr -G'
alias ll='ls -ltr -G'
alias ls='ls -G'
alias lr='ls -G -ltrR'
alias pps='ps axwo ppid,pid,tty,user,group,%cpu,%mem,args'
alias lhost='[ -n "$1" ] && grep $1 /etc/hosts || echo Usage: lhost host'
#alias ipmi='/home/jnnewman/supermicro/IPMIView20.sh'
alias kchrome='pkill chromium ; pkill chromium ; sleep 1 ; pkill -9 chromium'
alias pchrome='pgrep chromium'
alias kfox='pkill firefox ; pkill firefox ; sleep 1 ; pkill -9 firefox'
alias pfox='ps auxw | grep firefox'
export EDITOR=vim
export SVN_EDITOR=vim
export PAGER=less
alias vi=vim
alias cgrep='grep --color=always'
# vim:ft=sh:ts=4:sts=4:ai:et:
alias rc_getkey='sudo -u www gpg --homedir /var/www/roundcube/enigma/home/jnn/ --keyserver hkp://pool.sks-keyservers.net --recv-keys '
alias catdn='cat > /dev/null'
alias wgetnocheck='wget --no-check-certificate'
alias pkg-rdeps='pkg query '\''%rn %ro %rv'\'''
alias pkg-deps='pkg query '\''%dn %do %dv'\'''