command-line-murders/i-0c897d45c356af422
by SadServersMore by SadServers
Creating file /home/admin/data/newdatafile with size 1.5GB... panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-052c1c6e295346c50:~$ 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-052c1c6e295346c50:~$ df
kihei/i-052c1c6e295346c50 01:59
by SadServersadmin@i-00ff22741d8109eed:~$ sudo mkfs -t ext4 -j -L new /dev/nvme1n1p1 mke2fs 1.46.2 (28-Feb-2021) Creating filesystem with 261883 4k blocks and 65536 inodes Filesystem UUID: 54fc8dad-097c-4d06-bf89-9f2b0cd181c8 Superblock backups stored on blocks: 32768, 98304, 163840, 229376 Allocating group tables: done Writing inode tables: done Creating journal (4096 blocks): done Writing superblocks and filesystem accounting information: done admin@i-00ff22741d8109eed:~$ sudo mkdir /new admin@i-00ff22741d8109eed:~$ sudo vim /etc/fstab admin@i-00ff22741d8109eed:~$ mount
kihei/i-00ff22741d8109eed 05:54
by SadServers--help Show this help -H --halt Halt the machine -P --poweroff Power-off the machine -r --reboot Reboot the machine -h Equivalent to --poweroff, overridden by --halt -k Don't halt/power-off/reboot, just send warnings --no-wall Don't send wall message before halt/power-off/reboot -c Cancel a pending shutdown See the shutdown(8) man page for details. admin@i-01318c13a92295c75:/etc/systemd/system$ sudo shutdown -^C admin@i-01318c13a92295c75:/etc/systemd/system$ cd admin@i-01318c13a92295c75:~$ ls a.py agent admin@i-01318c13a92295c75:~$