mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
571 B
Plaintext
22 lines
571 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# noti
|
|
|
|
> Monitor a process and trigger a banner notification.
|
|
> More information: <https://github.com/variadico/noti/blob/main/docs/noti.md>.
|
|
|
|
- Display a notification when tar finishes compressing files:
|
|
|
|
`noti {{tar -cjf example.tar.bz2 example/}}`
|
|
|
|
- Display a notification even when you put it after the command to watch:
|
|
|
|
`{{command_to_watch}}; noti`
|
|
|
|
- Monitor a process by PID and trigger a notification when the PID disappears:
|
|
|
|
`noti {{[-w|--pwatch]}} {{process_id}}`
|