Linux Commands Reference - Complete Linux Command Guide

Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.

Share
Back to commands

mount

Mount a filesystem

Syntax

mount [OPTION]... DEVICE DIRECTORY

Common Options

-tSpecify filesystem type
-oSpecify mount options
-aMount all from fstab
-rRead-only mount
-wRead-write mount
-vVerbose mode
-nDon't write to mtab
--bindBind mount

Common Examples

mount /dev/sda1 /mnt

Mount partition to directory

mount -t ext4 /dev/sda1 /mnt

Mount with filesystem type

mount -o ro /dev/sda1 /mnt

Read-only mount

mount -a

Mount all from fstab

mount --bind /old /new

Bind mount

mount -t nfs server:/share /mnt

Mount NFS share

Related Commands

Related Tools

More Code & Dev Tools