command-line-murders/i-0b0133666fd4f7f48
by SadServersMore by SadServers
.data.stations.[] | select( .has_kiosk == true ) jq: 1 compile error cat: write error: Broken pipe admin@i-08425b1c710310b14:~$ cat station_information.json | jq ".data.stations |"^C admin@i-08425b1c710310b14:~$ python bash: python: command not found admin@i-08425b1c710310b14:~$ python3 Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import json >>> from pathlib import Path >>> p = Path("station_information.json") >>>
unimak/i-08425b1c710310b14 05:41
by SadServerslevel = logging.DEBUG if not os.path.exists(logdir): os.makedirs(logdir) logfile = os.path.join(logdir, "unattended-upgrades-shutdown.log") logging.basicConfig(filename=logfile, level=level, format="%(asctime)s %(levelname)s - %(message)s") UnattendedUpgradesShutdown(options).run() if __name__ == "__main__": main() admin@i-06e18ce49b1465f2e:~$ cat
paris/i-06e18ce49b1465f2e 04:42
by SadServersroot 590 0.0 0.4 4396 2140 ttyS0 Ss+ 14:50 0:00 /sbin/agetty 15200,57600,38400,9600 ttyS0 vt220 root 591 0.0 1.5 13352 7152 ? Ss 14:50 0:00 sshd: /usr/sbf 10-100 startups _chrony 593 0.0 0.7 10852 3600 ? S 14:50 0:00 /usr/sbin/chr_chrony 594 0.0 0.1 10724 548 ? S 14:50 0:00 \_ /usr/sbinroot 606 0.1 3.7 26612 17420 ? Ss 14:50 0:00 /usr/bin/pyth-upgrades/unattended-upgrade-shutdown --wait-for-signal admin@i-06fb99aa236dc5e81:~$ python -m http.server bash: python: command not found admin@i-06fb99aa236dc5e81:~$ python3 -m http.server Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ... ^C Keyboard interrupt received, exiting. admin@i-06fb99aa236dc5e81:~$ ls INPUT -p tcp -m tcp --dport 80 -j DROP
paris/i-06fb99aa236dc5e81 01:25
by SadServers-rw-r--r-- 1 root root 5.0G Sep 17 2023 datafile -rwxr-xr-x 1 admin root 2.2M Sep 17 2023 kihei admin@i-0ddd50f9df146da5c:~$ ls -lh /home total 4.0K drwxr-xr-x 7 admin admin 4.0K Mar 10 18:11 admin admin@i-0ddd50f9df146da5c:~$ stat /home/admin/datafile File: /home/admin/datafile Size: 5368709120 Blocks: 10485768 IO Block: 4096 regular file Device: 10303h/66307d Inode: 264701 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2023-09-17 17:28:37.402800568 +0000 Modify: 2023-09-17 17:28:37.486796321 +0000 Change: 2023-09-17 17:28:37.486796321 +0000 Birth: 2023-09-17 17:28:37.402800568 +0000 admin@i-0ddd50f9df146da5c:~$