Error solution – PATH environment variable

root@homeserver:~# fdisk -l
Command 'fdisk' is available in '/sbin/fdisk'
The command could not be located because '/sbin' is not included in the PATH environment variable.
This is most likely caused by the lack of administrative privileges associated with your user account.
fdisk: command not found

nano .bashrc

export PATH=“$PATH:/sbin“

  •  
  •  
  •  
  •  

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.