LoginSignup
2
1

More than 5 years have passed since last update.

CentOS5でfdiskが使えない場合の対処法

Last updated at Posted at 2018-09-03

OSの初期状態では,/sbinにPATHが通っていないらしい。  

binaryは/sbin/fdisk にあるので,絶対パスを指定して使う。  

もしくは以下のコマンドでパスを通す(bash)。

export PATH=/sbin:$PATH

なお,fdiskを実行するには管理者権限(root)が必要。

参考:
https://www.linuxquestions.org/questions/linux-software-2/bash-fdisk-command-not-found-804767/

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1