-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnicealiases
36 lines (36 loc) · 1.16 KB
/
nicealiases
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
export EDITOR=vi;
alias psx='ps auxf';
alias ..='cd ..';
alias psg='ps aux | grep -i --color';
alias log='lsof | grep -E \"\.log|out$\"';
alias ll='ls -lha';
alias sd='sudo su -c \"bash --rcfile ~wleese/nicealiases\" -l || sudo -i';
alias v='vim -u ~wleese/nicevimrc';
alias vi='vim -u ~wleese/nicevimrc';
alias vim='vim -u ~wleese/nicevimrc';
alias tf='tail -f ';
alias nstat='netstat --inet --inet6 -pln | grep --color ';
alias netstat='netstat --inet --inet6 -pln';
alias pt='puppet agent -t';
alias pte='puppet agent --enable';
alias ptd='puppet agent --disable William';
alias spt='sleep 2m; puppet agent -t';
alias get='curl -s -XGET ';
alias post='curl -s -XPOST ';
alias c='cat';
alias ff='find | grep --color=auto ';
alias rqa='rpm -qa | grep --color';
alias rg='grep -Ri --color';
. /etc/bashrc;
export PS1='\u@\h \w# ';
alias d='docker'
alias de='docker exec -ti'
function deb { docker exec -ti \$1 /bin/bash; };
alias di='docker inspect '
alias dps='docker ps'
alias dpsa='docker ps -a'
alias dl='docker logs'
alias dlf='docker logs -f'
alias dpsg='docker ps -q | xargs docker inspect --format "{{.State.Pid}}, {{.Name}}" | grep '
alias jqq='python -m json.tool'
alias cast=cat