Operating System - Linux
1829712 Members
2187 Online
109992 Solutions
New Discussion

Re: fdisk command not found

 
Ravi kumar raju
Advisor

fdisk command not found

HI Team,

I have installed Suse10 on IA server.if i use fdisk -l it is giving command not found error.how do get the fdisk command.

photon7:/ # cat /etc/issue

Welcome to SUSE Linux Enterprise Server 10 (ia64) - Kernel \r (\l).


photon7:/mnt # fdisk -l
-bash: fdisk: command not found
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: fdisk command not found

Shalom,

fdisk is an rpm. Install it from the original install media.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Krastev
Honored Contributor

Re: fdisk command not found

fdisk is in /sbin - /sbin/fdisk.

Check for PATH variable.

regards,
ivan
Ravi kumar raju
Advisor

Re: fdisk command not found

HI Team,

I could not find fdisk in /sbin.as well as I have checked the rpm in media file also it is not there.


Thanks,
Ravi kumar.R
Ivan Krastev
Honored Contributor

Re: fdisk command not found

Fdisk is in the package util-linux:

rpm -qf /sbin/fdisk
util-linux-2.12-72.46


regards,
ivan
Deepak Kr
Respected Contributor

Re: fdisk command not found

In RedHat it gets install by default.

Try to find it using

whereis fdisk
or
which fdisk..
"There is always some scope for improvement"
Steven Schweda
Honored Contributor

Re: fdisk command not found

> photon7:/mnt # fdisk -l
> -bash: fdisk: command not found

> Try to find it using
>
> whereis fdisk
> or
> which fdisk..

Please tell me that you, unlike me, have some
magic versions of "whereis" or "which", which
don't only look for a program on the user's
PATH, which we already know won't work.

If you believe that the program is really
somewhere, but you don't know where, I can
imagine using "find" to find it. Asking a
shell where it found a program which we know
that it can't find seems to me to be -- how
should I phrase it? -- foolish? Or am I the
one who's missing something obvious?