🖥️mount
➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the mount command with important options and switches using examples.
2 minute read
▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁
# ███╗ ███╗ ██████╗ ██╗ ██╗███╗ ██╗████████╗
# ████╗ ████║██╔═══██╗██║ ██║████╗ ██║╚══██╔══╝
# ██╔████╔██║██║ ██║██║ ██║██╔██╗ ██║ ██║
# ██║╚██╔╝██║██║ ██║██║ ██║██║╚██╗██║ ██║
# ██║ ╚═╝ ██║╚██████╔╝╚██████╔╝██║ ╚████║ ██║
# ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═╝
# To mount / partition as read-write in repair mode:
mount -o remount,rw /
# Bind mount path to a second location
mount --bind /origin/path /destination/path
# To mount Usb disk as user writable:
mount -o uid=username,gid=usergroup /dev/sdx /mnt/xxx
# To mount a remote NFS directory
mount -t nfs example.com:/remote/example/dir /local/example/dir
# To mount an ISO
mount -o loop disk1.iso /mnt/disk
#==============================#
# CMD mount
#==============================##==============================#
mount 10.11.2.23:/check_mk-backup /mnt
# nfs auf dem check_mk auf den NFS server mounten
mount | column -t
# Zeigt die aktuell eingehängten Geräte in einer übersichtlichen Darstellung. The command shows the list of all the mounted filesystem in a nice formatting with specification.
# Format input into multiple columns, like a table, useful or pretty-printing
mount | column -t
# Explanation: column is a utility for formatting text. With the -t flag it detects the number of columns in the input so it can format the text into a table-like format. For more details see man column.
mount -t iso9660 -o loop image.iso /mnt/isoimage
# mount an ISO image file onto a directory - Where image.iso is the image file and you want to mount it to /mnt/isoimage.
#mount nfs
#10.144.32.75:/BACK/Cisco /mnt/backup/ nfs rw,sync,hard,intr 0 0
#mount von vm ware aus
esxcli storage nfs add -H nfsshare.linux.lxu.io -s /Statusfiles -v statusfiles
# zielhost
nfsshare.linux.lxu.io has address 10.11.15.88
# mount befehl
mount -t nfs 10.11.15.88:/Statusfiles /root/bin/statusfiles
umount /root/bin/statusfiles
#==============================##==============================#
# CMD mount
#==============================##==============================#
Cheatsheets are an excellent complement to other information sources like Linux man-pages, Linux help, or How-To’s and tutorials, as they provide compact and easily accessible information. While man-pages and detailed tutorials often contain comprehensive explanations and extensive guides, cheatsheets summarize the most important options forthe command mount in a clear format. This allows users to quickly access the needed information for mount without having to sift through lengthy texts. Especially in stressful situations or for recurring tasks, cheatsheets for mount are a valuable resource to work efficiently and purposefully.
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
█║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌
██╗ ██╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗
████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
╚██╔═██╔╝██║ ██║██║ ██║ ╚███╔╝ █████╗ ██║ ██║
████████╗██║ ██║██║ ██║ ██╔██╗ ██╔══╝ ██║ ██║
╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═════╝
█║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.