diff --git a/pages/common/noti.md b/pages/common/noti.md new file mode 100644 index 000000000..cd466a84e --- /dev/null +++ b/pages/common/noti.md @@ -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}}`