Docs

コマンド ヒストリー

Shell 乱文

なんだか流行っていますね

Usage

macOS (おおよそ zsh)

history 0 | awk '{print $2}' | sort | uniq -c | sort -nr | head -n 10

Linux (多分 Ubuntu おおよそ bash)

history の引数が消えただけです.

history | awk '{print $2}' | sort | uniq -c | sort -nr | head -n 10

2025年2月6日 22時27分

Haruki (Client; macOS)

180 go
90 git
76 cd
67 python
52 ssh
41 ls
32 ping
29 nslookup
27 code
25 bun

Sakuta (Server; Ubuntu)

207 cd
177 ls
94 docker
74 sudo
56 git
51 exit
40 nano
29 scp
21 ip
17 ssh

Nodoka (Server; Ubuntu)

227 cd
171 ls
91 docker
78 sudo
58 kubectl
52 go
39 curl
33 nano
26 git
20 exit

Kaede (Server; Ubuntu)

169 docker
142 cd
115 ls
44 sudo
21 curl
15 exit
10 rm
10 mkdir
8 code
8 cat

Published at