command-line-murders/i-0ada4ea11309f0b1c
by SadServersMore by SadServers
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 8G 0 disk nvme2n1 259:1 0 1G 0 disk nvme0n1p1 259:2 0 7.9G 0 part / nvme0n1p14 259:3 0 3M 0 part nvme0n1p15 259:4 0 124M 0 part /boot/efi nvme1n1 259:5 0 1G 0 disk admin@i-0b16adf98831f3727:~$ 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-0b16adf98831f3727:~$ sudo su root@i-0b16adf98831f3727:/home/admin# pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. root@i-0b16adf98831f3727:/home/admin#
kihei/i-0b16adf98831f3727 01:00
by SadServers-l Make bash act as if it had been invoked as a login shell (see I -r If the -r option is present, the shell becomes restricted (see -s If the -s option is present, or if no arguments remain after op the positional parameters to be set when invoking an interactiv -v Print shell input lines as they are read. -x Print commands and their arguments as they are executed. -D A list of all double-quoted strings preceded by $ is printed when the current locale is not C or POSIX. This implies the -n [-+]O [shopt_option] shopt_option is one of the shell options accepted by the shopt value of that option; +O unsets it. If shopt_option is not s standard output. If the invocation option is +O, the output is -- A -- signals the end of options and disables further option pro ment of - is equivalent to --. Manual page bash(1) line 1 (press h for help or q to quit)