Apply the 'path/to/item' convention uniformly (#947)
This commit is contained in:

committed by
Waldir Pimenta

parent
eef8de9e5c
commit
fa8b2d8f92
@@ -16,4 +16,4 @@
|
||||
|
||||
- Push an Android application to an emulator/device:
|
||||
|
||||
`adb install -r {{apk.path}}`
|
||||
`adb install -r {{path/to/file.apk}}`
|
||||
|
@@ -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:
|
||||
|
||||
|
@@ -8,4 +8,4 @@
|
||||
|
||||
- Create directories recursively (useful for creating nested dirs):
|
||||
|
||||
`mkdir -p {{path}}`
|
||||
`mkdir -p {{path/to/directory}}`
|
||||
|
@@ -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:
|
||||
|
||||
|
@@ -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}}`
|
||||
|
@@ -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!):
|
||||
|
||||
|
Reference in New Issue
Block a user