On 6 November 2013 20:23, Alan Jenkins <alan.james.jenk...@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@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.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to