1,428   Linux

[opsesame@AY130729144147841901Z ~]$ fdisk
-bash: fdisk: command not found
[opsesame@AY130729144147841901Z ~]$ echo $PATH
[opsesame@AY130729144147841901Z ~]$ whereis fdisk
fdisk: /sbin/fdisk /usr/share/man/man8/fdisk.8.gz
[opsesame@AY130729144147841901Z ~]$ su
[root@AY130729144147841901Z opsesame]# ln -s /sbin/fdisk /usr/bin
[root@AY130729144147841901Z opsesame]# fdisk

Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda (for the first IDE disk)
or: fdisk /dev/sdc (for the third SCSI disk)
or: fdisk /dev/eda (for the first PS/2 ESDI drive)
or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)

[root@AY130729144147841901Z opsesame]#

Leave a Reply

Your email address will not be published. Required fields are marked *