System and processes

The mount command

Mounts a device into a folder so you can access its contents, or lists what is already mounted.

Syntax

mount | mount DISPOSITIVO CARPETA

Most useful options

-aMounts everything listed in /etc/fstab
-t TIPOSpecifies the filesystem type

Copy-ready examples

$ mountSee current mounts
$ sudo mount /dev/sdb1 /mnt && sudo umount /mntMount and unmount

You can try them in the browser terminal: it does not touch your computer.

Typical mistakes

  • Mounting almost always needs sudo.
  • Unmount before removing the USB stick so you do not lose data.

Related commands

FAQ

What is the mount point?

The folder (for example /mnt) where the device contents appear.

Learn to actually use it

The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.

Start the free course