mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-11 10:55:50 +02:00
noti: add page (#2544)
This commit is contained in:
parent
99d08c8d10
commit
9be2ef7773
1 changed files with 15 additions and 0 deletions
15
pages/common/noti.md
Normal file
15
pages/common/noti.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# noti
|
||||||
|
|
||||||
|
> Monitor a process and trigger a banner notification.
|
||||||
|
|
||||||
|
- 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 {{process_id}}`
|
Loading…
Add table
Reference in a new issue