From 9b77c401bdd06230cceab7f3e37fc80958cfc72a Mon Sep 17 00:00:00 2001 From: Runar Borge Date: Sun, 17 Jun 2018 22:28:21 +0200 Subject: rewrite show host to new syntax --- op-mode-definitions/show-host.xml | 51 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 op-mode-definitions/show-host.xml (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/show-host.xml b/op-mode-definitions/show-host.xml new file mode 100644 index 000000000..39c6c3acc --- /dev/null +++ b/op-mode-definitions/show-host.xml @@ -0,0 +1,51 @@ + + + + + + + Show host information + + + + + Show host current date + + /bin/date + + + + + Show domain name + + /bin/domainname -d + + + + + Show host name + + /bin/hostname + + + + + Show host operating system details + + /bin/uname -a + + + + + Lookup host information for hostname|IPv4 address + + /usr/bin/host $4 + + + + + + + + + -- cgit v1.2.3