command-line-murders/i-0eaa5d8e13d0309a2
by SadServersMore by SadServers
admin@i-0f543fbc21a7f9861:~$ ls -al total 5245080 drwxr-xr-x 7 admin admin 4096 Feb 7 22:52 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 17 17:15 .ansible -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 Feb 7 22:52 .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 17 17:28 agent drwxr-xr-x 2 admin root 4096 Feb 7 22:53 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-0f543fbc21a7f9861:~$
kihei/i-0f543fbc21a7f9861 01:15
by SadServersnvme0n1p14 259:3 0 3M 0 part nvme0n1p15 259:4 0 124M 0 part /boot/efi nvme2n1 259:5 0 1G 0 disk admin@i-08e93e0b6cf12c92a:~$ ls agent data datafile kihei admin@i-08e93e0b6cf12c92a:~$ vgcreate vg1 /dev/nvme1n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-08e93e0b6cf12c92a:~$ sudo vgcreate vg1 /dev/nvme1n1 Physical volume "/dev/nvme1n1" successfully created. Volume group "vg1" successfully created admin@i-08e93e0b6cf12c92a:~$ sudo vgcreate vg2 /dev/nvme2n1 Physical volume "/dev/nvme2n1" successfully created. Volume group "vg2" successfully created admin@i-08e93e0b6cf12c92a:~$ vgextend vg0 /
kihei/i-08e93e0b6cf12c92a 02:36
by SadServerscrontab [ -u user ] [ -i ] { -e | -l | -r } (default operation is replace, per 1003.2) -e (edit user's crontab) -l (list user's crontab) -r (delete user's crontab) -i (prompt before deleting user's crontab) admin@i-0707c9522c663d8b0:/etc$ crontab -e -u admin no crontab for admin - using an empty one Select an editor. To change later, run 'select-editor'. 1. /bin/nano <---- easiest 2. /usr/bin/vim.basic 3. /usr/bin/vim.tiny Choose 1-3 [1]: