mount do?attach a filesystem to the directory tree (or list current mounts).
▸ Explain your own mount command →$ mount
$ mount -t ext4 -o ro /dev/sdb1 /mnt
| -t | specify the filesystem type (ext4, xfs, nfs…) |
| -o | pass a comma-separated list of mount options |
| -a | mount everything listed in /etc/fstab |
| -r | mount the filesystem read-only |
| -w | mount the filesystem read-write |
| -v | verbose output |
| -B | bind-mount an existing directory somewhere else |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.