Originally Posted by zndffo
i am working with Debian squeeze 6.0 network install.
bare bones, Zero GUI.
just trying to learn the back end. No GUI, do not want it !.
anyway, while trying to detect the printer cable that is plugged into the USB port.
fishing on the net shows using fdisk to detect .
weird thing is that there is no fdisk or gnu-fdisk.
does any one know what Debian would use in place of fdisk or if fdisk is 'just outside' of the path for some security reason.
if you are a regular user, you may not have /sbin, /usr/sbin, and others in your path, and fdisk may be in one of those. to check what your path is, just do:
and the directories will be colon-separated.
You can su/sudo to root and look for it, e.g.:
There is also parted, sfdisk, cfdisk, and others. but last time I used Debian, it had fdisk.
, a printer would NOT require fdisk, which is used exclusively for partition hard drives! Double-check whatever you were reading, or post it here it you have questions about it.