diff --git a/pages/common/adb.md b/pages/common/adb.md index f063895ec7..48a6742b19 100644 --- a/pages/common/adb.md +++ b/pages/common/adb.md @@ -16,4 +16,4 @@ - Push an Android application to an emulator/device: -`adb install -r {{apk.path}}` +`adb install -r {{path/to/file.apk}}` diff --git a/pages/common/grep.md b/pages/common/grep.md index 44a4f6856e..ea933a7c82 100644 --- a/pages/common/grep.md +++ b/pages/common/grep.md @@ -5,7 +5,7 @@ - Search for an exact string: -`grep {{search_string}} {{file_path}}` +`grep {{search_string}} {{path/to/file}}` - Search in case-insensitive mode: diff --git a/pages/common/mkdir.md b/pages/common/mkdir.md index 392e2ffa5b..905bba39fc 100644 --- a/pages/common/mkdir.md +++ b/pages/common/mkdir.md @@ -8,4 +8,4 @@ - Create directories recursively (useful for creating nested dirs): -`mkdir -p {{path}}` +`mkdir -p {{path/to/directory}}` diff --git a/pages/common/pv.md b/pages/common/pv.md index 76a4fc1efb..3705bd6837 100644 --- a/pages/common/pv.md +++ b/pages/common/pv.md @@ -20,7 +20,7 @@ - Read an erroneous file, skip errors as `dd conv=sync,noerror` would: -`pv -EE {{path_to_faulty_media}} > image.img` +`pv -EE {{path/to/faulty_media}} > image.img` - Stop reading after reading specified amount of data, rate limit to 1K/s: diff --git a/pages/common/rmdir.md b/pages/common/rmdir.md index cd9d02bcc1..eb11ad2ebf 100644 --- a/pages/common/rmdir.md +++ b/pages/common/rmdir.md @@ -4,8 +4,8 @@ - Remove directory, provided it is empty. Use `rm` to remove not empty directories: -`rmdir {{directory}}` +`rmdir {{path/to/directory}}` - Remove directories recursively (useful for nested dirs): -`rmdir -p {{path}}` +`rmdir -p {{path/to/directory}}` diff --git a/pages/common/umount.md b/pages/common/umount.md index a29738f421..c51c5a171b 100644 --- a/pages/common/umount.md +++ b/pages/common/umount.md @@ -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!): diff --git a/pages/linux/cryptsetup.md b/pages/linux/cryptsetup.md index 861c594cd5..0142633f87 100644 --- a/pages/linux/cryptsetup.md +++ b/pages/linux/cryptsetup.md @@ -4,8 +4,8 @@ - Format a drive (or a file) to make it a LUKS volume: -`cryptsetup luksFormat {{path_to_luks_volume_to_be}}` +`cryptsetup luksFormat {{path/to/luks_volume_to_be}}` - Open a volume so that you can access it decrypted on the fly at /dev/mapper/{{a}}: -`cryptsetup luksOpen {{path_to_luks_volume_to_be}} {{a}}` +`cryptsetup luksOpen {{path/to/luks_volume_to_be}} {{a}}` diff --git a/pages/linux/iptables.md b/pages/linux/iptables.md index 1516c92713..5374b8f7fa 100644 --- a/pages/linux/iptables.md +++ b/pages/linux/iptables.md @@ -24,4 +24,4 @@ - Save iptables configuration: -`sudo iptables-save > {{path_to_iptables_file}}` +`sudo iptables-save > {{path/to/iptables_file}}` diff --git a/pages/osx/open.md b/pages/osx/open.md index 0fb01e010a..d4d1152c0b 100644 --- a/pages/osx/open.md +++ b/pages/osx/open.md @@ -16,7 +16,7 @@ - Reveal a file in finder: -`open -R /path/dir/{{file}}` +`open -R {{path/to/file}}` - Open all the files of a given extension in the current directory with the associated application: