command-line-murders/i-0033e63d65834a13d
by SadServersMore by SadServers
admin@i-0abecaf9cea654118:~/.ansible$ ls -al total 12 drwx------ 3 admin admin 4096 Sep 20 15:52 . drwxr-xr-x 7 admin admin 4096 Oct 1 22:35 .. drwx------ 2 admin admin 4096 Sep 30 17:46 tmp admin@i-0abecaf9cea654118:~/.ansible$ cd tmp admin@i-0abecaf9cea654118:~/.ansible/tmp$ ls -al total 8 drwx------ 2 admin admin 4096 Sep 30 17:46 . drwx------ 3 admin admin 4096 Sep 20 15:52 .. admin@i-0abecaf9cea654118:~/.ansible/tmp$ ls -alcd ^C admin@i-0abecaf9cea654118:~/.ansible/tmp$ cd ~ admin@i-0abecaf9cea654118:~$ find / -user admin 2> /dev/null > testoutput admin@i-0abecaf9cea654118:~$ less testoutput admin@i-0abecaf9cea654118:~$
monaco/i-0abecaf9cea654118 03:26
by SadServersDisk /dev/nvme0n1: 8 GiB, 8589934592 bytes, 16777216 sectors Disk model: Amazon Elastic Block Store Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: 411E8940-1FEF-5347-B8D7-BE9578B62DC7 Device Start End Sectors Size Type /dev/nvme0n1p1 262144 16777182 16515039 7.9G Linux filesystem /dev/nvme0n1p14 2048 8191 6144 3M BIOS boot /dev/nvme0n1p15 8192 262143 253952 124M EFI System Partition table entries are not in disk order. root@i-06e0efaa114330701:~# m
kihei/i-06e0efaa114330701 09:18
by SadServersnvme2n1 259:2 0 1G 0 disk admin@i-02780e50ec753e2bd:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-02780e50ec753e2bd:~$ sudo vgcreate dd /dev/nvme1n1 /dev/nvme2n1 Volume group "dd" successfully created admin@i-02780e50ec753e2bd:~$ sudo lvcreate -l 100%FREE -n app dd Logical volume "app" created. admin@i-02780e50ec753e2bd:~$ lvs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-02780e50ec753e2bd:~$ sudo lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert app dd -wi-a----- 1.99g admin@i-02780e50ec753e2bd:~$ mksfs