paris/i-0a31e5daa0d7a50e2
by SadServersMore by SadServers
drwxr-xr-x 6 admin admin 4096 Feb 14 01:24 .. -rwxr-xr-x 1 admin admin 230 Sep 24 23:20 check.sh -rwxr-xr-x 1 admin root 11397096 Sep 20 15:53 sadagent -rw-r--r-- 1 admin admin 0 Sep 20 15:53 sadagent.txt admin@i-0613915f249b84d87:~/agent$ cat check.sh #!/bin/bash expected_checksum="d8bee9d7f830d5fb59b89e1e120cce8e" actual_checksum=$(md5sum /home/admin/mysolution | awk '{print $1}') if [[ "$actual_checksum" == "$expected_checksum" ]]; then echo -n "OK" else echo -n "NO" fiadmin@i-0613915f249b84d87:~/agent$ ./
paris/i-0613915f249b84d87 02:18
by SadServersudev 221828 0 221828 0% /dev tmpfs 46636 368 46268 1% /run /dev/nvme0n1p1 8026128 6354488 1242384 84% / tmpfs 233168 12 233156 1% /dev/shm tmpfs 5120 0 5120 0% /run/lock /dev/nvme0n1p15 126678 6016 120662 5% /boot/efi admin@i-0ed3208f72b7149da:~$ df -i Filesystem Inodes IUsed IFree IUse% Mounted on udev 55457 307 55150 1% /dev tmpfs 58292 441 57851 1% /run /dev/nvme0n1p1 516096 32800 483296 7% / tmpfs 58292 4 58288 1% /dev/shm tmpfs 58292 3 58289 1% /run/lock /dev/nvme0n1p15 0 0 0 - /boot/efi admin@i-0ed3208f72b7149da:~$
kihei/i-0ed3208f72b7149da 00:13
by SadServersThe exit status returned by fallocate is 0 on success and 1 on failure. OPTIONS The length and offset arguments may be followed by the multiplicative su MiB (=1024*1024), and so on for GiB, TiB, PiB, EiB, ZiB, and YiB (the "i "K" has the same meaning as "KiB") or the suffixes KB (=1000), MB (=1000* GB, TB, PB, EB, ZB, and YB. The options --collapse-range, --dig-holes, --punch-hole, and --zero-rang sive. -c, --collapse-range Removes a byte range from a file, without leaving a hole. The byt lapsed starts at offset and continues for length bytes. At the co Manual page fallocate(1) line 1 (press h for help or q to quit)