diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show/log/tail/node.def | 2 | ||||
-rw-r--r-- | templates/show/log/tail/node.tag/node.def | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/show/log/tail/node.def b/templates/show/log/tail/node.def new file mode 100644 index 0000000..65bea1c --- /dev/null +++ b/templates/show/log/tail/node.def @@ -0,0 +1,2 @@ +help: Show last lines of messages file +run: tail -f /var/log/messages diff --git a/templates/show/log/tail/node.tag/node.def b/templates/show/log/tail/node.tag/node.def new file mode 100644 index 0000000..00de686 --- /dev/null +++ b/templates/show/log/tail/node.tag/node.def @@ -0,0 +1,3 @@ +help: Show last changes to messages +allowed: echo -n '<NUMBER>' +run: tail -n "$4" /var/log/messages |