command-line-murders/i-0b71b15f924b1422a
by SadServersMore by SadServers
drwxr-xr-x 6 admin admin 4096 Sep 24 23:20 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 20 15:52 .ansible -rw------- 1 admin admin 485 Dec 29 21:06 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Sep 20 15:56 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-06d586ef8810553b9:~$ cat webserver.py cat: webserver.py: Permission denied (failed reverse-i-search)`curl': ^Ct webserver.py admin@i-06d586ef8810553b9:~$ curl localhost:
paris/i-06d586ef8810553b9 02:52
by SadServerstmpfs 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-09424d19be2c310c3:~$ df -h /home Filesystem Size Used Avail Use% Mounted on /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / admin@i-09424d19be2c310c3:~$ df -h /home/admin/ Filesystem Size Used Avail Use% Mounted on /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / admin@i-09424d19be2c310c3:~$ pvcreate /dev/nvme1n1 /dev/nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-09424d19be2c310c3:~$
kihei/i-09424d19be2c310c3 00:41
by SadServersgzip -c file1 file2 > foo.gz If you want to recompress concatenated files to get better compression, d gzip -cd old.gz | gzip > new.gz If a compressed file consists of several members, the uncompressed size a the --list option applies to the last member only. If you need the unco members, you can use: gzip -cd file.gz | wc -c If you wish to create a single archive file with multiple members so that Manual page gzip(1) line 187 (press h for help or q to quit)