How do I eject a USB from terminal?
Answer
Safely Remove or Eject a Disk Using the Command Line
Answer
Safely Remove or Eject a Disk Using the Command Line
- On command prompt, type “diskpart” and wait for the new prompt, then type “list volume”. …
- Type “select volume
<number>
“, where
<number>
is the number of your USB storage.
</number>
</number> - Then, type “remove all dismount”.