fdisk
hello
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. thanks |
Quote:
Code:
echo $PATH You can su/sudo to root and look for it, e.g.: Code:
sudo which fdisk However, 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. |
Quote:
|
As per above, fdisk is for disks (sic); try lsusb.
|
pieces of the puzzle
i did not log the website that suggested using fdisk to show what is plugged into hardware ports.
lsusb man lsusb this works as a beginning point to work with. thank you |
If it's a USB printer, the command lsusb (list usb) should show whether it's detected; if it doesn't show, you can doublecheck with the dmesg command.
There is also a utility called pconf-detect. It's mentioned on this page. |
All times are GMT -5. The time now is 02:32 PM. |