[ubuntu-uk] 1000 commands
Alan Pope
alan at popey.com
Thu Nov 7 10:40:09 UTC 2013
On 6 November 2013 20:23, Alan Jenkins <alan.james.jenkins at gmail.com> wrote:
> There is no problem with keeping a lengthy history per se, just
> sometimes those commands are often variations on the same thing
>
Indeed, I type "ls" and "cd" way more than I should :)
alan at deep-thought:~$ awk '{print $1}' ~/.bash_history | sort | uniq -c
| sort -rn | head
474 cd
359 ls
173 adb
109 ./click_n_run.sh
100 sudo
46 nano
38 cat
32 mv
31 grep
27 ssh
Cheers,
Al.
More information about the ubuntu-uk
mailing list