5 ms·
Ask YC: Recent *nix history..
This seems to be a meme going around. run this and paste what you get:
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
It'll be interesting to see what most people spend their time with.
this is what I get for my user:
83 ssh
51 ls
44 ec2-describe-instances
44 cd
40 sudo
20 ec2-run-instances
17 ec2-terminate-instances
15 ping
15 ifconfig
15 ec2-describe-images
- staunch 19y ago67 screen 59 ping 54 perl 49 vi 46 host 44 dmesg 39 killall 36 ps 30 ls 30 ip
- Zak 19y ago134 sudo 55 csc 37 ls 34 cd 27 gcc 20 cp 19 ./guestbook.cgi 17 mzc 16 rm 14 make
- PStamatiou 19y agoand my friend's htpc 117 sudo 85 ls 45 cd 38 exit 21 yes 19 vlc 17 screen 11 ssh 10 dmesg 8 mplayer
- ichverstehe 19y ago180 ruby 86 cd 40 git 31 ls 20 vim 20 script/server 16 grep 9 ri 8 ssh 6 scp
- bazookaaa 19y ago109 sudo 48 s 42 cd 34 touch 30 apache (alias for sudo apachectl) 25 cp 24 gem 17 c 16 mate 14 irb
- mcxx 19y ago68 ls 57 cd 31 mplayer 24 make 23 less 21 whois 17 man 17 avail 15 rm 15 diff
- gaika 19y ago218 ssh 187 git 61 telnet (was troubleshooting random connectivity issues) 57 script/server 45 ls 45 cd (notice the same #'s as ls, should merge it into one command?) 44 firefox (crashes all the time :( ) 32 rsync (backup) 23 ./xgospel (the best game ever! :) 23 alsamixer
- rob 19y ago126 ls 58 fink 41 cd 34 sudo 33 exit; 30 host 22 which 19 curl 15 ssh 15 python
- ojbyrne 19y ago106 python 76 ls 67 emacs 63 cd 28 mysql 24 sudo 17 history 10 mv 9 ssh 6 rm
- mk 19y ago272 git 66 ls 61 cd 26 svn 18 less 10 python 10 cp 8 man 7 vim 3 rm
- maurycy 19y agob:maurycy:~% history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head 1 21:23 :-) b:maurycy:~% echo $SHELL /bin/tcsh
- streblo 19y ago114 python 67 cd 65 ls 45 ssh 29 ipython 21 mate 19 man 16 ifconfig 12 sudo 10 svn
- ghiotion 19y ago178 vi 105 ls 66 cd 50 python 11 links 10 su 7 ps 7 cp 6 id 4 top
- davidw 19y agoHeh... these values are heavily influenced by the Android contest: 89 svn 67 ant 55 ./reload.sh 53 java 43 /opt/android-sdk_m5-rc15_linux-x86/tools/adb 36 ./build.sh 28 cd 25 ./script/server 16 ls 11 /opt/android-sdk_m5-rc15_linux-x86/tools/emulator
- pmjordan 19y ago81 git 55 ant 52 ls 48 cd 44 clj 37 svn 37 ssh 30 mplayer 29 vim 29 cp
- jsrn 19y agomost people seem to use cd and ls very frequently. Very often they are used one after another. This reminds me of a trick I heard in a talk by Damian Conway: alias cdd='cd $l; ls' I can't find the original slides, here is a writeup by cromatic: http://www.oreillynet.com/onlamp/blog/2003/07/oscon_2003_day_one.html http://www.oreillynet.com/onlamp/blog/2003/07/oscon_2003_day...
- attack 19y agoTab completion!! Why the heck not?
- breily 19y agoI did that with this: function z () { if [ $# = 0 ]; then ls -lFGh else cd "$*" && ls -lFGh fi } That way if you don't specify a directory it just does an ls. Edit: and apparently it took away my line breaks there, but it still makes sense.
- wanorris 19y agoI used to have cdl aliased to that, and lost track of it during a long sojourn in Windows. I'm still in the process of building out a really kickass bash again. Thanks for the reminder of that alias!
- __ 19y agoIt seems so obvious, and yet it took me several years before I finally made a cd-ls alias. I made a mkdir-cd alias too.
- dangoldin 19y agoOn one machine: 291 nice 93 cvs 17 . 15 pwd 13 emacs 10 cd 9 perl 9 export 7 find 6 cp
- xlnt 19y agolots of aliases. r is ruby. open is like double clicking something in the mac finder, i quite like it. 128 p4 83 r 47 p4o 27 p4ch 23 rakts 22 curl 19 cap1d 18 ssh 13 script/scrape 12 open
- ingenium 19y ago85 cd 59 ls 47 sudo 47 ssh 20 man 15 cat 14 rm 12 ping 11 ps 11 ./configure
- lg 19y ago94 cd 73 ls 64 sudo 30 nano 21 java 13 gawk 13 echo 11 ps 11 killall 8 clojure java surprised me.
- andr 19y ago54 cd 40 dir 33 start 29 c:\python\python.exe 21 c:\tools\php\php.exe ... just kidding
- attack 19y agoPeople still use ls? Why not just tab completion?
- pius 19y ago88 ss (alias for 'script/server') 81 rake 72 cd 34 git 23 sc (alias for 'script/console') 19 merb 18 sudo 14 ssh 13 nano 13 ls
- jobeirne 19y ago132 sudo 84 cd 63 ls 33 HandBrakeCLI 29 rsync 10 java 8 ssh 7 mv 7 mkdir 7 javac
- superchink 19y agoThis is from 1 week of usage on my MacBook Pro: 38 ssh 33 cd 32 ll 21 scp 16 ant 10 ls 7 ping 6 mkdir 5 mv 4 file
- brianr 19y ago195 vi 193 python 163 ls 100 cd 54 svn 37 ssh 36 ps 29 paster 29 kill 24 ./rollprod Not surprised at all to see ls so high... most of the times I type it I'm not actually looking for its output, I'm just clearing my mind or trying to remember what I was doing. I think I should alias ls to print out a ToDo list.
- brianr 19y agoannnndd... alias ls='cat ~/TODO' Let's see what this does for productivity :)
- abstractwater 19y agoon my MacBookPro: 74 ps 47 kill 44 ls 33 cd 27 sudo 18 pwd 16 ping 16 open 12 cp 11 scons
- theorique 19y ago107 ls 99 cd 43 python 33 less 22 sudo 20 port 18 make 16 screen 15 ll 13 vi