unmount command
Purpose
Unmounts a previously mounted file system, directory, or file.
Syntax
unmount { Directory | File | FileSystem }
Description
The unmount command unmounts a previously mounted directory, file, or file system. Processing on the file system, directory, or file completes and it is unmounted.
To unmount local mounts you can specify the device, directory, file, or file system on which it is mounted.
Exit Status
Examples
- To unmount files and directories, type the following command:
This unmounts the filesystem mounted at /home/user/test.unmount /home/user/test