I want to know how to umount my USB drive via command line. I am using Ubuntu 12.04 LTS 32-bit.
How to umount a USB drive?
mount;usb drive
Suppose your usb drive is mounted to /media/usb then it would be sufficient to do sudo umount /media/usbSuppose the your usb is /dev/sdb1 then you could also dosudo umount /dev/sdb1You may also have a look at the anwers of one of my questions, how to umount all attached usb devices with a single command: Umount all attached usb disks with a single command