-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_aliases
128 lines (108 loc) · 2.9 KB
/
.bash_aliases
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
#Ubuntu & Mint
alias l.='ls -dh .* --color=auto'
alias b='cd ..'
alias halt='halt -p'
alias cp='cp -v'
alias mv='mv -v'
alias rm='rm -v'
alias cls=clear
alias mkdir='mkdir -v'
alias cat='cat -n'
alias svim='sudo vim'
alias df='df -h'
alias du='du -sh'
alias free='free -h'
alias update='sudo apt-get update'
alias upgrade='sudo apt-get upgrade'
alias install='sudo apt-get install'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
alias www='cd /home/wwwroot/www.thend.net'
alias search='apt-cache search'
alias fuck='eval $(thefuck $(fc -ln -1)); history -r'
alias Annie='annie -x http://127.0.0.1:1080'
alias Annie='HTTP_PROXY="http://127.0.0.1:1080/" annie'
alias axel='axel -a'
alias Curl='curl -x http://127.0.0.1:993'
alias ld='ls -d'
alias lld='ls -adlhF'
########################################################
#CentOS
alias l.='ls -d .* --color=auto'
alias l='ls -CF'
alias la='ls -A'
alias ll='ls -alFh'
alias ld='ls -d'
alias lld='ls -adlhF'
alias b='cd ..'
alias halt='halt -p'
alias cp='cp -v'
alias mv='mv -v'
alias rm='rm -v'
alias cls=clear
alias mkdir='mkdir -v'
alias cat='cat -n'
alias axel='axel -a'
Alias svim='sudo vim'
alias Annie='annie -x http://127.0.0.1:1080'
alias Annie='HTTP_PROXY="http://127.0.0.1:1080/" annie'
alias Curl='curl -x http://127.0.0.1:1080'
alias df='df -h'
alias du='du -sh'
alias free='free -h'
alias update='sudo yum -y update'
alias upgrade='sudo yum -y upgrade'
alias check='yum check-update'
alias install='sudo yum -y install'
alias remove='sudo yum -y remove'
alias grep='grep -n --color=auto'
alias fgrep='fgrep -n --color=auto'
alias egrep='egrep -n --color=auto'
###################################################
#Arch & Manjaro
alias l.='ls -d .* --color=auto'
alias l='ls -CF'
alias la='ls -A'
alias ll='ls -alFh'
alias ld='ls -d'
alias lld='ls -adlhF'
alias cls=clear
alias cp='cp -v'
alias mv='mv -v'
alias rm='rm -v'
alias cls=clear
alias mkdir='mkdir -v'
alias cat='cat -n'
alias axel='axel -a'
Alias svim='sudo vim'
alias Annie='annie -x http://127.0.0.1:1080'
alias Annie='HTTP_PROXY="http://127.0.0.1:1080/" annie'
alias Curl='curl -x http://127.0.0.1:993'
alias b='cd ..'
alias halt='halt -p'
alias df='df -h'
alias du='du -sh'
alias free='free -h'
alias s='sudo pacman -S'
alias ss='pacman -Ss'
alias ssq='pacman -Ssq'
alias syy='sudo pacman -Syy'
alias syu='sudo pacman -Syu'
alias syyu='sudo pacman -Syyu'
alias rsn='pacman -Rsn'
alias scc='sudo pacman -Scc'
alias S='yay -S'
alias Ss='yay -Ss'
alias Ssq='yay -Ssq'
alias Syy='yay -Syy'
alias Syu='yay -Syu'
alias Syyu='yay -Syyu'
alias Rsn='yay -Rsn'
alias Scc='yay -Scc'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot
--show-tilde'
alias egrep='egrep -n --color=auto'
alias fgrep='fgrep -n --color=auto'
###############################################################
#永久生效, 写入
#/etc/profile
#/etc/bashrc ~/.bashrc ~/.bash_profile 四文件之一