paris/i-07602503257110b80
by SadServersMore by SadServers
#1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: sudo: a password is required admin@i-0883f8551b33b395b:~$ ^C admin@i-0883f8551b33b395b:~$ ^C admin@i-0883f8551b33b395b:~$ sudo usage: sudo -h | -K | -k | -V usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user] usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [comusage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-admin@i-0883f8551b33b395b:~$
paris/i-0883f8551b33b395b 04:40
by SadServersadmin@i-072d28a9ffafc9157:~$ systemctl edit flaskapp.service Failed to create directories for "/etc/systemd/system/flaskapp.service.d/overridadmin@i-072d28a9ffafc9157:~$ systemctl cat flaskapp.service # /etc/systemd/system/flaskapp.service [Unit] Description=Flask Application After=network.target [Service] ExecStart=/usr/bin/python3 /home/admin/webserver.py [Install] WantedBy=multi-user.target admin@i-072d28a9ffafc9157:~$ vim /etc/systemd/system/flaskapp.service
paris/i-072d28a9ffafc9157 07:10
by SadServers-rw-r--r-- 1 root root 5368709120 Sep 17 2023 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 2023 kihei admin@i-0c7a28e3a2fe0be8b:~$ ls -la data total 8 drwxr-xr-x 2 admin root 4096 Nov 22 13:46 . drwxr-xr-x 7 admin admin 4096 Nov 22 13:45 .. admin@i-0c7a28e3a2fe0be8b:~$ 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-0c7a28e3a2fe0be8b:~$