4chan archive /g/ (index)
2019-05-18 10:50 71008967 Anonymous (1556788865623.jpg 361x397 38kB)
can I take a peek in your .bash_history file right?
you weren't doing anything questionable recently right?
2 min later 71009003 Anonymous
go ahead i'm using win10
3 min later 71009007 Anonymous
>>71008967
last command: telnet rainmaker.wunderground.com
its cool being able to get the weather from a terminal
3 min later 71009008 Anonymous
cd code
cd..
cd..
cd..
cd ..
ls
5 min later 71009035 Anonymous
But I don't want to show you that, Mao-chan-sensei.
6 min later 71009056 Anonymous
>>71008967
endro was shit
even for cgdct standards
8 min later 71009068 Anonymous
chsh /bin/zsh
exit
11 min later 71009109 Anonymous
touch loli
touch lolis
touch mom_in_her_sleep
rm -rf loli* mom_in_her_sleep
rm -rf the_evidence
13 min later 71009137 Anonymous
went in there thinking I'd be comfortable with sharing. nope
14 min later 71009140 Anonymous
$ history | tail -n20
6439 tmux
6440 w
6441 apt update; apt upgrade
6442 tmux
6443 tail -f /var/log/messages
6444 tmux
6445 w
6446 pstree
6447 htop
6448 tail -f /var/log/messages
6449 tmux
6450 tmux
6451 tmux
6452 tmux
6453 tmux
6454 w
6455 pstree
6456 tmux
6457 ipconfig
6458 history | tail -n20
18 min later 71009195 Anonymous
>>71009140
shouldn't you use
apt update && apt upgrade
instead? After all if at update fails with an error message you probably want to stop and not execute the apt upgrade.
19 min later 71009203 Anonymous
>>71009195
it'll still ask if i want to proceed with the upgrade, at which point i can abort
20 min later 71009217 Anonymous
-r-------- 1 0 Oct 18 2015 .bash_history
history is for nerds
21 min later 71009222 Anonymous
cd
f
ff
. .bashrc
ff
r
vim configuration.el
fg 1
fg 1
21 min later 71009230 Anonymous
>>71009217
>i type out my commands every time like a caveman
23 min later 71009251 Anonymous
>>71009056
It had 1 great girl though.
24 min later 71009258 Anonymous
>>71009008
care to join our startup?
24 min later 71009267 Anonymous
>>71009140
fc -l -20 # list last 20 lines in history
fc -l #default is -15
fc -l 10 30 # List history lines 10 through 30
fc 20 # open line 20 for editing and execution
>writes a /tmp file and executes that in shell
fc -s 20 # rerun line 20
!20 # rerun line 20 bash history
!20:s/old/new/ # run line 20 but sub new for old
^new^foo # rerun last command substitute foo for new
35 min later 71009390 Anonymous
9922 2019-05-17 05:47 journalctl -u docker | grep "n
ot found" | sed -n -E 's/.*client: ([0-9\.]+),.*$/\1/p'
| sort | uniq
9923 2019-05-17 05:48 vi badlogins.sh
9924 2019-05-17 05:48 chmod +x badlogins.sh
9925 2019-05-17 05:48 journalctl -u docker
9926 2019-05-17 05:50 cp badlogins.sh badposts.sh
9927 2019-05-17 05:50 vi bad
9928 2019-05-17 05:50 vi badposts.sh
9929 2019-05-17 05:50 ./badposts.sh
9930 2019-05-17 05:51 journalctl -u docker > log.txt
9931 2019-05-17 05:51 vi badposts.txt
9932 2019-05-17 05:52 for ip in $(cat badposts.txt)
; do grep $ip log.txt\ndone
9933 2019-05-17 05:52 ping 99.51.157.106
9934 2019-05-17 05:53 dig -x 99.51.157.106
9935 2019-05-17 06:00 ping 47.52.198.254
9936 2019-05-17 06:00 ping 47.106.92.63
9937 2019-05-17 06:00 nmap -PS 47.106.92.63
37 min later 71009417 Anonymous
>>71008967
>mkdir .bash_history
first thing i do, i cant remember but i couldnt disable it properly so that was last resort and works
40 min later 71009451 Anonymous
>>71009417
CHMOD MUTHAFUCKER DO YOU USE IT?!
43 min later 71009482 Anonymous
>>71009008
based koder
50 min later 71009565 Anonymous
sudo -i -u znc
sudo -i -u znc
sudo -i -u znc
sudo -i -u znc
gcc -Wall gay.c
./a.out
rm a.out
sudo -i -u znc
sudo -i -u znc
sudo -i -u znc
mutt
sudo -i -u znc
sudo -i -u znc
sudo -i -u znc
sudo -i -u znc
51 min later 71009571 Anonymous
history -w muh.backup
HISTFILE=/dev/null # or unset HISTFILE
history -c
history
echo $HISTFILE
. .bashrc
echo $HISTFILE
rm .bash_history
history -c
history
history -cr muh.backup
history -w
51 min later 71009574 Anonymous
>>71009056
CGDCT isn't even a real thing.
52 min later 71009577 Anonymous (Capture.png 677x342 23kB)
>>71008967
0.962 0.053