Linux command
noti 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Notify when command completes
noti [long-running-command]
Notify with custom title
noti -t "[Build]" [make]
Notify with custom message
noti -m "[Done!]" [command]
Use specific service
noti --slack [command]
Pipe mode
[command] | noti
Banner notification
noti -b [command]
Watch a running process by PID
noti -w [PID]
说明
noti triggers notifications when commands complete. Supports multiple services. The tool alerts on completion. Works with Slack, Pushover, and native notifications.
参数
- -t _TITLE_
- Notification title.
- -m _MESSAGE_
- Notification message.
- -b
- Banner notification.
- -s
- Speech notification (text-to-speech).
- -w _PID_
- Watch a running process by PID and notify when it finishes.
- --slack
- Notify via Slack.
- --pushover
- Notify via Pushover.
- --help
- Display help information.
FAQ
What is the noti command used for?
noti triggers notifications when commands complete. Supports multiple services. The tool alerts on completion. Works with Slack, Pushover, and native notifications.
How do I run a basic noti example?
Run `noti [long-running-command]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -t _TITLE_ do in noti?
Notification title.