command-line-murders/i-0e27df5a39c2f8552
by SadServersMore by SadServers
[ -q|--quiet ] [ -v|--verbose ] [ -y|--yes ] [ -t|--test ] [ --commandprofile String ] [ --config String ] [ --driverloaded y|n ] [ --nolocking ] [ --lockopt String ] [ --longhelp ] [ --profile String ] [ --version ] Use --longhelp to show all options and advanced commands. root@i-07cec5215659f55ed:/home/admin# lvcreate
kihei/i-07cec5215659f55ed 07:23
by SadServerswrite(2, ":", 1:) = 1 write(2, "64", 264) = 2 write(2, " +", 2 +) = 2 write(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-04e9a940bea99a35d:~$ ls /home/admin/data/newdatafile ls: cannot access '/home/admin/data/newdatafile': No such file or directory admin@i-04e9a940bea99a35d:~$ cd /home/admin/data/ admin@i-04e9a940bea99a35d:~/data$ ls admin@i-04e9a940bea99a35d:~/data$ vi newdatafile admin@i-04e9a940bea99a35d:~/data$ chattr -i newdatafile admin@i-04e9a940bea99a35d:~/data$
kihei/i-04e9a940bea99a35d 06:04
by SadServersgoroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-034dbd4f51896b7e8:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 368K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-034dbd4f51896b7e8:~$ file /home/admin/data/newdatafile /home/admin/data/newdatafile: cannot open `/home/admin/data/newdatafile' (No sucadmin@i-034dbd4f51896b7e8:~$ du -h --max-
kihei/i-034dbd4f51896b7e8 02:04
by SadServers< Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Wed, 28 Feb 2024 20:58:43 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 207 < Connection: close < <!doctype html> <html lang=en> <title>404 Not Found</title> <h1>Not Found</h1> <p>The requested URL was not found on the server. If you entered the URL manualllling and try again.</p> * Closing connection 0 admin@i-045e1170ba04ed4e1:~$ vi mysolution admin@i-045e1170ba04ed4e1:~$ curl localhost:5000/index. -v