command-line-murders/i-0c075cde1a4ed6b29
by SadServersMore by SadServers
.png Sep 30 09:47:18 i-0f74e0ddaf74d5004 gotty[574]: 2023/09/30 09:47:18 172.31.16.10ico Sep 30 09:47:18 i-0f74e0ddaf74d5004 gotty[574]: 2023/09/30 09:47:18 New client c7064, connections: 1/5 Sep 30 09:47:26 i-0f74e0ddaf74d5004 dhclient[479]: XMT: Solicit on ens5, intervaSep 30 09:47:58 i-0f74e0ddaf74d5004 dhclient[479]: XMT: Solicit on ens5, intervaSep 30 09:48:06 i-0f74e0ddaf74d5004 systemd[1]: Started Hammer Time. Sep 30 09:48:06 i-0f74e0ddaf74d5004 systemd[1]: mc.service: Succeeded. ^C admin@i-0f74e0ddaf74d5004:~$ strace kihei strace: Can't stat 'kihei': No such file or directory admin@i-0f74e0ddaf74d5004:~$ strace datafile strace: Can't stat 'datafile': No such file or directory admin@i-0f74e0ddaf74d5004:~$ strace datafile
kihei/i-0f74e0ddaf74d5004 02:27
by SadServersadmin@i-08b5e9edc7abcbde1:~$ ps -a PID TTY TIME CMD 661 pts/0 00:00:00 asciinema 664 pts/0 00:00:00 asciinema 666 pts/1 00:00:00 bash 735 pts/1 00:00:00 ps admin@i-08b5e9edc7abcbde1:~$ ls agent data datafile kihei admin@i-08b5e9edc7abcbde1:~$ cd data/ admin@i-08b5e9edc7abcbde1:~/data$ ls admin@i-08b5e9edc7abcbde1:~/data$ cd .. admin@i-08b5e9edc7abcbde1:~$ truncate truncate: you must specify either ‘--size’ or ‘--reference’ Try 'truncate --help' for more information. admin@i-08b5e9edc7abcbde1:~$ truncate
kihei/i-08b5e9edc7abcbde1 01:50
by SadServersadmin@i-076cd0a7cd775af64:~$ sudo lvcreate -L%100 newdata Size requires number argument. Invalid argument for --size: %100 Error during parsing of command line. admin@i-076cd0a7cd775af64:~$ sudo lvcreate -L%100 newdataadmin@i-076cd0a7cd775afFREE -n newfile newdata Invalid argument for --extents: %100FREE Error during parsing of command line. admin@i-076cd0a7cd775af64:~$ vgs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-076cd0a7cd775af64:~$ sudo vgs VG #PV #LV #SN Attr VSize VFree newdata 2 0 0 wz--n- 1.99g 1.99g admin@i-076cd0a7cd775af64:~$ sudo lvcreate -l %100FREE -n newfilnewdata