来晒晒你使用过的 Linux 命令的 top 10 吧!

2014-04-18 23:50:14 +08:00
 yxjxx
刚刚在 http://talk.linuxtoy.org/using-cli/ 看到了一条命令可以显示你使用过的命令的top10.
而且网页使用的类似的ppt效果也超级赞呢!


命令是:
history | awk '{CMD[$2]++;count++;}END { for (a in CMD)\
print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" \
| column -c3 -s " " -t | sort -nr | nl | head -n10
19883 次点击
所在节点    Linux
176 条回复
imlonghao
2014-04-19 11:08:41 +08:00
Just 4 fun.
1 2311 100% reboot
ThomasChan
2014-04-19 11:09:34 +08:00
1 930 62.9655% scp
2 129 8.73392% svn
3 69 4.67163% cd
4 57 3.85917% ls
5 38 2.57278% brew
6 21 1.4218% sudo
7 17 1.15098% ssh
8 17 1.15098% python
9 13 0.880162% rm
10 12 0.812458% nvm
hutushen222
2014-04-19 11:15:03 +08:00
1 3760 37.6038% git
2 1346 13.4613% cd
3 1253 12.5313% ls
4 355 3.55036% php
5 235 2.35024% less
6 219 2.19022% vim
7 180 1.80018% ssh
8 152 1.52015% vagrant
9 134 1.34013% man
10 113 1.13011% stree
hanks315
2014-04-19 11:25:50 +08:00
1 5267 52.6753% git
2 524 5.24052% cd
3 389 3.89039% vim
4 215 2.15022% rm
5 196 1.9602% sudo
6 192 1.92019% clang++
7 176 1.76018% echo
8 143 1.43014% kill
9 142 1.42014% cat
10 137 1.37014% python
xuyuanp
2014-04-19 11:26:38 +08:00
1 1762 17.6218% cd
2 1755 17.5518% vim
3 1317 13.1713% git
4 1052 10.5211% ls
5 434 4.34043% rm
6 355 3.55036% c
7 276 2.76028% brew
8 186 1.86019% j
9 130 1.30013% mv
10 121 1.21012% mvim
目测此楼已被vim党占领
ichou
2014-04-19 11:27:22 +08:00
1 247 49.4% ruby
2 55 11% ssh
3 30 6% gem
4 23 4.6% ls
5 20 4% brew
6 19 3.8% cd
7 14 2.8% soundcloud2000
8 13 2.6% git
9 7 1.4% netstat
10 7 1.4% audite

这只是最近一段时间的吧
Hashell
2014-04-19 11:56:57 +08:00
1 230 22.977% fg
2 156 15.5844% pm2
3 143 14.2857% jobs
4 95 9.49051% node
5 92 9.19081% vim
6 38 3.7962% screen
7 34 3.3966% npm
8 28 2.7972% ls
9 25 2.4975% cnpm
10 19 1.8981% fuser
riaqn
2014-04-19 11:57:22 +08:00
1 1155 19.7133% sudo
2 400 6.8271% python
3 368 6.28094% cd
4 351 5.99078% ls
5 324 5.52995% eix
6 217 3.7037% git
7 182 3.10633% youdao
8 129 2.20174% nano
9 125 2.13347% rm
10 116 1.97986% raspi

youdao是自己写的查单词脚本 raspi是alias ssh到我的树莓派。
qonco
2014-04-19 12:00:35 +08:00
1 1399 29.4899% git
2 753 15.8727% ll
3 588 12.3946% cd
4 237 4.99578% ssh
5 161 3.39376% mvn
6 158 3.33052% python3
7 109 2.29764% clear
8 101 2.12901% scp
9 94 1.98145% sudo
10 92 1.93929% brew
liprais
2014-04-19 12:17:01 +08:00
1 146 29.1417% bteq
2 104 20.7585% ls
3 65 12.9741% cd
4 36 7.18563% ruby
5 27 5.38922% ssh
6 19 3.79242% git
7 12 2.39521% rvm
8 8 1.59681% brew
9 7 1.39721% scala
10 7 1.39721% pwd
rannnn
2014-04-19 12:18:19 +08:00
1 322 15.6083% git
2 232 11.2458% ls
3 189 9.16142% cd
4 128 6.20456% clear
5 114 5.52593% npm
6 106 5.13815% node
7 102 4.94426% g
8 93 4.508% sudo
9 54 2.61755% rm
10 54 2.61755% eyed3
Pixeller
2014-04-19 12:21:45 +08:00
1 120 23.9521% cd
2 66 13.1737% git
3 61 12.1756% ls
4 32 6.38723% brew
5 24 4.79042% rm
6 23 4.59082% make
7 23 4.59082% exit
8 18 3.59281% sudo
9 15 2.99401% open
10 15 2.99401% cmake
- -我也好低端.
yingluck
2014-04-19 12:23:44 +08:00
1 23 30.2632% vim
2 18 23.6842% ls
3 15 19.7368% cd
4 6 7.89474% ssh
5 4 5.26316% scp
6 2 2.63158% tmux
7 2 2.63158% python
8 2 2.63158% find
9 1 1.31579% mv
10 1 1.31579% history
yboren
2014-04-19 12:29:25 +08:00
1 8 22.8571% ls
2 5 14.2857% man
3 3 8.57143% vim
4 3 8.57143% git
5 2 5.71429% uptime
6 2 5.71429% tmux
7 2 5.71429% systemctl
8 2 5.71429% cd
9 1 2.85714% ps
10 1 2.85714% ip

哎,ls第一的人都是在干什么啊
good
2014-04-19 12:40:45 +08:00
1 205 40.9182% python3
2 68 13.5729% ls
3 35 6.98603% cd
4 29 5.78842% sudo
5 21 4.19162% find
6 13 2.59481% cat
7 12 2.39521% python
8 11 2.19561% zip
9 8 1.59681% netstat
10 8 1.59681% kill
hao0088
2014-04-19 12:45:02 +08:00
1 208 41.517% ping
2 161 32.1357% ssh
3 45 8.98204% telnet
4 22 4.39122% curl
5 17 3.39321% dig
6 8 1.59681% uptime
7 8 1.59681% open
8 7 1.39721% sudo
9 5 0.998004% brew
10 4 0.798403% scp
misaka
2014-04-19 12:45:57 +08:00
1 168 33.5329% py
2 142 28.3433% l
3 77 15.3693% cd
4 18 3.59281% git
5 14 2.79441% vagrant
6 14 2.79441% sudo
7 12 2.39521% cat
8 8 1.59681% vi
9 7 1.39721% ssh
10 7 1.39721% netstat
wwek
2014-04-19 12:46:26 +08:00
1 282 28.2% svn
2 219 21.9% ls
3 160 16% cd
4 110 11% vim
5 83 8.3% grep
6 24 2.4% find
7 12 1.2% rm
8 11 1.1% pwd
9 11 1.1% date
10 7 0.7% mv
LazyZhu
2014-04-19 12:50:11 +08:00
liliang13
2014-04-19 12:53:04 +08:00
1 156 28.8889% ls
2 99 18.3333% cd
3 25 4.62963% rm
4 22 4.07407% wget
5 21 3.88889% vim
6 21 3.88889% apt-get
7 16 2.96296% mv
8 11 2.03704% chmod
9 10 1.85185% tar
10 9 1.66667% npm

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/109153

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX