command-line-murders/i-09dba9208bea48a63
by SadServersMore by SadServers
nvme0n1p15 259:4 0 124M 0 part /boot/efi nvme2n1 259:5 0 1G 0 disk admin@i-0fa4d288c3a7c6a01:~$ pvcreate /dev/nv nvme0 nvme0n1p1 nvme0n1p15 nvme1n1 nvme2n1 nvme0n1 nvme0n1p14 nvme1 nvme2 nvram admin@i-0fa4d288c3a7c6a01:~$ pvcreate /dev/nv nvme0 nvme0n1p1 nvme0n1p15 nvme1n1 nvme2n1 nvme0n1 nvme0n1p14 nvme1 nvme2 nvram admin@i-0fa4d288c3a7c6a01:~$ pvcreate /dev/nvme1n1 /dev/nvm2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0fa4d288c3a7c6a01:~$ sudo pvcreate /dev/nvme1n1 /dev/nvm2n1 No device found for /dev/nvm2n1. Physical volume "/dev/nvme1n1" successfully created. admin@i-0fa4d288c3a7c6a01:~$
kihei/i-0fa4d288c3a7c6a01 04:20
by SadServersPassing on a "Transfer-Encoding: chunked" header when doing a HT quest body, will make curl send the data using chunked encoding. Example: curl -H "X-First-Name: Joe" http://example.com/ WARNING: headers set with this option will be set in all requests rects are followed, like when told with -L, --location. This can l ing sent to other hosts than the original host, so sensitive head with caution combined with following redirects. This option can be used multiple times to add/replace/remove multi Manual page curl(1) line 1104 (press h for help or q to quit)
paris/i-039b0cfc4259bd692 01:09
by SadServers-rwxr-xr-x 1 admin root 2.2M Sep 17 17:28 kihei admin@i-061e6f1896de4e4aa:~$ tar -czvf datafile.tar.gz datafile datafile admin@i-061e6f1896de4e4aa:~$ ls -lh total 5.1G drwxr-xr-x 2 admin root 4.0K Sep 17 17:28 agent drwxr-xr-x 2 admin root 4.0K Dec 12 15:18 data -rw-r--r-- 1 root root 5.0G Sep 17 17:28 datafile -rw-r--r-- 1 admin admin 5.0M Dec 12 15:25 datafile.tar.gz -rwxr-xr-x 1 admin root 2.2M Sep 17 17:28 kihei admin@i-061e6f1896de4e4aa:~$ true > datafile bash: datafile: Permission denied admin@i-061e6f1896de4e4aa:~$ sudo true > datafile bash: datafile: Permission denied admin@i-061e6f1896de4e4aa:~$ chmod 664