paris/i-0f16fd6f9266c5552
by SadServersMore by SadServers
apt cloud-init-output.log dpkg.log messages syslog.2.gauth.log cloud-init.log dpkg.log.1 messages.1 unattendedauth.log.1 daemon.log faillog messages.2.gz user.log auth.log.2.gz daemon.log.1 journal minio.log user.log.1btmp daemon.log.2.gz kern.log private user.log.2btmp.1 debug kern.log.1 runit wtmp admin@i-0742bf7ca8414ac5b:/var/log$ cd ^C admin@i-0742bf7ca8414ac5b:/var/log$ cd / admin@i-0742bf7ca8414ac5b:/$ ls bin dev home lib32 libx32 media opt root sbin sys usr boot etc lib lib64 lost+found mnt proc run srv tmp var admin@i-0742bf7ca8414ac5b:/$ cd admin@i-0742bf7ca8414ac5b:~$ ls agent webserver.py admin@i-0742bf7ca8414ac5b:~$
paris/i-0742bf7ca8414ac5b 01:47
by SadServers16K drwx------ 2 root root 16K Sep 28 2021 lost+found 4.0K drwxr-xr-x 2 root root 4.0K Sep 28 2021 media 4.0K drwxr-xr-x 2 root root 4.0K Sep 28 2021 mnt 4.0K drwxr-xr-x 2 root root 4.0K Sep 28 2021 opt 0 dr-xr-xr-x 132 root root 0 Dec 29 10:32 proc 4.0K drwx------ 4 root root 4.0K Dec 29 10:33 root 0 drwxr-xr-x 23 root root 700 Dec 29 10:34 run 0 lrwxrwxrwx 1 root root 8 Sep 28 2021 sbin -> usr/sbin 4.0K drwxr-xr-x 2 root root 4.0K Sep 28 2021 srv 0 dr-xr-xr-x 13 root root 0 Dec 29 10:32 sys 4.0K drwxrwxrwt 9 root root 4.0K Dec 29 10:33 tmp 4.0K drwxr-xr-x 14 root root 4.0K Sep 28 2021 usr 4.0K drwxr-xr-x 11 root root 4.0K Sep 28 2021 var admin@i-048d1249f70749b97:/$ cd .. admin@i-048d1249f70749b97:/$ ls --help | grep size
kihei/i-048d1249f70749b97 03:22
by SadServersadmin@i-03d111ffb4bddab0a:~$ netstat -tulnp (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN tcp6 0 0 :::6767 :::* LISTEN tcp6 0 0 :::8080 :::* LISTEN tcp6 0 0 :::22 :::* LISTEN udp 0 0 127.0.0.1:323 0.0.0.0:* udp 0 0 0.0.0.0:68 0.0.0.0:* udp6 0 0 fe80::8aa:bdff:fe0b:546 :::* udp6 0 0 ::1:323 :::* admin@i-03d111ffb4bddab0a:~$
paris/i-03d111ffb4bddab0a 02:38
by SadServers[Unit] Description=Flask Application After=network.target [Service] ExecStart=/usr/bin/python3 /home/admin/webserver.py [Install] WantedBy=multi-user.target admin@i-031b3c138eab9863b:~$ ls -la/etc/systemd/system/flaskapp.service ls: invalid option -- '/' Try 'ls --help' for more information. admin@i-031b3c138eab9863b:~$ ls -la /etc/systemd/system/flaskapp.service -rw-r--r-- 1 root root 159 Sep 24 2023 /etc/systemd/system/flaskapp.service admin@i-031b3c138eab9863b:~$