mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-14 03:35:48 +02:00
nethogs, diskutil: fix device path (#17557)
This commit is contained in:
parent
e2f3aa4238
commit
b09a1e6e9f
2 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
- Monitor bandwidth on multiple devices:
|
- Monitor bandwidth on multiple devices:
|
||||||
|
|
||||||
`sudo nethogs {{device1}} {{device2}}`
|
`sudo nethogs {{device1 device2 ...}}`
|
||||||
|
|
||||||
- Specify refresh rate:
|
- Specify refresh rate:
|
||||||
|
|
||||||
|
|
|
@ -10,12 +10,12 @@
|
||||||
|
|
||||||
- Repair the filesystem data structures of a volume:
|
- Repair the filesystem data structures of a volume:
|
||||||
|
|
||||||
`diskutil repairVolume {{/dev/disk_device}}`
|
`diskutil repairVolume {{/dev/disk}}`
|
||||||
|
|
||||||
- Unmount a volume:
|
- Unmount a volume:
|
||||||
|
|
||||||
`diskutil unmountDisk {{/dev/disk_device}}`
|
`diskutil unmountDisk {{/dev/disk}}`
|
||||||
|
|
||||||
- Eject a CD/DVD (unmount first):
|
- Eject a CD/DVD (unmount first):
|
||||||
|
|
||||||
`diskutil eject {{/dev/disk_device1}}`
|
`diskutil eject {{/dev/diskX}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue