bash:fdisk:command not found 解决办法
1,管理员登录
2,执行命令
[root@iZuf6gi29r8l3uyg0v7zgpZ home]# fdisk -l //执行
-bash: fdisk: command not found //出现的问题
[root@iZuf6gi29r8l3uyg0v7zgpZ home]# ln -s /sbin/fdisk /usr/bin
[root@iZuf6gi29r8l3uyg0v7zgpZ home]# fdisk -l
Disk /dev/vda: 64.4 GB, 64424509440 bytes, 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000b2d99
Device Boot Start End Blocks Id System
/dev/vda1 * 2048 125821079 62909516 83 Linux