mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-18 10:01:08 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
21
tldr/noti
Normal file
21
tldr/noti
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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>.
|
||||
|
||||
- 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}}`
|
||||
Reference in New Issue
Block a user