su -
to root works only when root account is activated and root password is set.sudo -i
works when user is in sudo group.If none of above conditions is met you need to boot into single user mode and activate at least one of them.
su -
to root works only when root account is activated and root password is set.sudo -i
works when user is in sudo group.mount
command will print all mounted volumes along with actual mount options in effect.Code: Select all
PATH=$PATH:/home/<user>/bin
fdisk
will see only what kernel can access. If you have an NVMe device and kernel has no driver for it then it won't be seen and cannot be used. Will this device show up in lspci
?ln
from command line works always.