1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

Tokenize user-replaceable values

This commit is contained in:
Marty Penner 2014-02-27 16:02:50 -05:00
parent 16ea90d999
commit 294da03f40
2 changed files with 5 additions and 5 deletions

View file

@ -8,11 +8,11 @@
- Mount a device
`mount -t filesystem_type path_to_device_file directory_to_mount_to`
`mount -t {{filesystem_type}} {{path_to_device_file}} {{directory_to_mount_to}}`
- Mount a CD-ROM device (with the filetype ISO9660) to /cdrom
`mount -t iso9660 -o ro /dev/cdrom /cdrom`
`mount -t {{iso9660}} -o ro {{/dev/cdrom}} {{/cdrom}}`
- Mount all the filesystem defined in /etc/fstab
@ -20,4 +20,4 @@
- Mount a specific filesystem described in /etc/fstab (e.g. "/dev/sda1 /my_drive ext2 defaults 0 2")
`mount /my_drive`
`mount {{/my_drive}}`

View file

@ -5,11 +5,11 @@
- Unmount a filesystem
`umount path_to_device_file`
`umount {{path_to_device_file}}`
- OR
`umount path_to_mounted_directory`
`umount {{path_to_mounted_directory}}`
- Unmount all mounted filesystems (dangerous!)