tail command for MoonX.
moonx cli/tail -n 20 app.log
moonx cli/tail -n +2 input.txt
moonx cli/tail -f app.log| Option | Description |
|---|---|
| -q, --quiet | Suppress file headers. |
| -v, --verbose | Always print file headers. |
| -f, --follow | Follow an open regular file. |
| -z, --zero-terminated | Use NUL-delimited records. |
| -n VALUE, --lines VALUE | Select records; +K starts at record K. Default: 10. |
| -c VALUE, --bytes VALUE | Select bytes; +K starts at byte K. |
| -s VALUE, --sleep-interval VALUE | Set follow polling interval; default 1. Default: 1. |
| --help | Show help. |
| --version | Show the version. |