bash: fdisk: command not found

You have to add /sbin to your PATH:

PATH=”/sbin:$PATH”
vagrant@stretch:~$ command -v fdisk /sbin/fdisk

Author: shaobo

发表评论