tldr/pages/common/noti.md

17 lines
440 B
Markdown
Raw Normal View History

2018-11-05 22:40:08 +00:00
# noti
> Monitor a process and trigger a banner notification.
2019-06-04 10:00:12 +01:00
> More information: <https://github.com/variadico/noti>.
2018-11-05 22:40:08 +00:00
- 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}}`