paris/i-0b558e9c7b4e80b59
by SadServersMore by SadServers
Can't parse size argument. Invalid argument for --size: 100% Error during parsing of command line. admin@i-0999a44d263ea34e9:~$ sudo lvcreate -L 2G -n lv_linear LVM Volume group "LVM" has insufficient free space (510 extents): 512 required. admin@i-0999a44d263ea34e9:~$ sudo lvcreate -L 1.8G -n lv_linear LVM Rounding up size to full physical extent 1.80 GiB Logical volume "lv_linear" created. admin@i-0999a44d263ea34e9:~$ lvs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0999a44d263ea34e9:~$ sudo lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Con lv_linear LVM -wi-a----- 1.80g admin@i-0999a44d263ea34e9:~$ mkdir /mnt/
kihei/i-0999a44d263ea34e9 07:01
by SadServersHTTP request sent, awaiting response... 200 OK Length: 12 [text/html] Saving to: ‘index.html’ index.html 0%[ ] index.html 100%[=============================================================================================>] 1 2024-11-19 13:52:42 (1.72 MB/s) - ‘index.html’ saved [12/12] admin@i-000f3b7345baf2e3d:~$ ls agent index.html webserver.py admin@i-000f3b7345baf2e3d:~$ vim
paris/i-000f3b7345baf2e3d 01:49
by SadServerstotal 12 -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rw-r--r-- 1 admin admin 79 Mar 2 05:22 py-wrapper.sh admin@i-02f98745e2b363f17:~$ losetup admin@i-02f98745e2b363f17:~$ losetup -l admin@i-02f98745e2b363f17:~$ ls -ltr total 12 -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rw-r--r-- 1 admin admin 79 Mar 2 05:22 py-wrapper.sh admin@i-02f98745e2b363f17:~$ mkdir /tmp/test admin@i-02f98745e2b363f17:~$ mount -o bind,ro /home/admin /tmp/test mount: /tmp/test: must be superuser to use mount. admin@i-02f98745e2b363f17:~$
paris/i-02f98745e2b363f17 06:38
by SadServers^C admin@i-06298332e7bb29ffb:~$ fg ./webserver.py 127.0.0.1 - - [15/Dec/2023 06:46:42] "GET / HTTP/1.1" 200 - ^M^?^?^?^?^M^M^Z [1]+ Stopped ./webserver.py admin@i-06298332e7bb29ffb:~$ curl localhost:5001&;fg bash: syntax error near unexpected token `;' admin@i-06298332e7bb29ffb:~$ curl localhost:5001& && fg bash: syntax error near unexpected token `&&' admin@i-06298332e7bb29ffb:~$ curl localhost:5001 & fg [2] 1140 ./webserver.py 127.0.0.1 - - [15/Dec/2023 06:47:06] "GET / HTTP/1.1" 200 - Hello World!