Selling to buyers worldwide on eBay · prices in AUDHelp & FAQGuidesOur eBay store

The umount command in Linux explained

Updated 26 October 2026

The umount command detaches a mounted drive safely (the command is spelled umount). It is one of the most useful commands for anyone using a live USB drive or a fresh Linux install.

Syntax

sudo umount folder-or-device

Examples

Tip

Always unmount before unplugging to avoid losing data.

Keep learning

New to the terminal? Start with Linux terminal basics. You can try every command safely from a live session: see how to try Linux without installing it. Run man umount in a terminal for the full manual.

Frequently asked questions

How do I see every option for umount?

Run man umount for the full manual, or try umount --help for a short summary.

Do I need sudo to run umount?

Usually yes, for manual unmounting.

Is it safe to practise umount on a live USB drive?

Mostly yes, because a live session starts fresh each time. Be careful with commands that write to your internal disk, such as rm on a mounted drive or dd.

More guides

Browse Linux USB drives See all products