CheatSnip

Related

Unmount Filesystems

linux

Unmount a filesystem

List Directory Contents

linux

List files and directories in the current or specified directory with various formatting options.

Change Directory

linux

Change the current working directory to a specified path.

linux/mount

Mount Filesystems

Mount a filesystem

filesystem
mount
disk

Command

mount

Explanation

mount attaches filesystems to the directory tree.

Examples

Mount USB drive

mount /dev/sdb1 /mnt/usb

Mount with filesystem type

mount -t ext4 /dev/sdb1 /mnt/disk

Show all mounted filesystems

mount

More

Print Working Directory

linux

Display the full path of the current working directory.

Copy Files

linux

Copy files and directories from one location to another.

Move or Rename Files

linux

Move or rename files and directories.

CheatSnip

Lightning-fast access to essential developer commands and code snippets. Search, copy, and master your favorite tools with our comprehensive cheat sheets.

Poorna Prakash

Quick Links

Git CommandsDockerNPMKubernetesYour Favorites

Legal

Terms & ConditionsPrivacy PolicyCookie Preferences

Company

About UsContact

© 2025 CheatSnip. All rights reserved.

Made with ❤️ for developers