Linux Command Cheat Sheet/Unmount a filesystem

Detach a mounted filesystem.

Section: System Information and Hardware

Unmount a filesystem

bash
bash
sudo umount /mnt/data
Explanation

Always ensure no process is using the mount before unmounting.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing System Information and Hardware
Print working directory
Show the current absolute path.
OpenIn sheetbash1 tag match
List directory contents
List files and directories.
OpenIn sheetbash1 tag match
Copy files recursively
Copy files or directories.
OpenIn sheetbash1 tag match
Move or rename file
Move or rename a file or directory.
OpenIn sheetbash1 tag match
Show directory tree
Display a recursive tree of files and directories.
OpenIn sheetbash1 tag match
Remove file
Delete a file.
OpenIn sheetbash1 tag match