umount
Unlink a filesystem from its mount point, making it no longer accessible. A filesystem cannot be unmounted when it is busy. More information: <https://man.openbsd.org/umount>.
Install
- All systems
-
curl cmd.cat/umount.sh
- Debian
-
apt-get install mount - Ubuntu
-
apt-get install mount -
Alpine
-
apk add util-linux - Arch Linux
-
pacman -S util-linux - Kali Linux
-
apt-get install mount - CentOS
-
yum install util-linux - Fedora
-
dnf install util-linux - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install mount - OS X
-
brew install util-linux - Raspbian
-
apt-get install loop-aes-utils - Docker
-
docker run cmd.cat/umount umountpowered by Commando
Unlink a filesystem from its mount point, making it no longer accessible. A filesystem cannot be unmounted when it is busy. More information: <https://man.openbsd.org/umount>.
-
Unmount a filesystem, by passing the path to the source it is mounted from:
umount path/to/device_file -
Unmount a filesystem, by passing the path to the target where it is mounted:
umount path/to/mounted_directory -
Unmount all mounted filesystems (except the `proc` filesystem):
umount -a
© tl;dr; authors and contributors