From f472b5a8658abfee43b7235f5fff727822327f63 Mon Sep 17 00:00:00 2001 From: Gubolin Date: Fri, 4 Apr 2014 09:14:57 +0200 Subject: [PATCH 1/2] add wall --- pages/linux/wall.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pages/linux/wall.md diff --git a/pages/linux/wall.md b/pages/linux/wall.md new file mode 100644 index 0000000000..fc3bc7e324 --- /dev/null +++ b/pages/linux/wall.md @@ -0,0 +1,10 @@ +# wall + +> write a message on the terminals of users currently logged in +> only available to super-user + +- send a message +`wall {{message}}` + +- send a message with timeout (default 300) +`wall -t {{seconds}} {{message}}` From 1fa8e8e8468e659fbbb7cd735c7277a37bf7813d Mon Sep 17 00:00:00 2001 From: Gubolin Date: Fri, 4 Apr 2014 09:21:11 +0200 Subject: [PATCH 2/2] change message to file --- pages/linux/wall.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/linux/wall.md b/pages/linux/wall.md index fc3bc7e324..b99a5fd137 100644 --- a/pages/linux/wall.md +++ b/pages/linux/wall.md @@ -4,7 +4,10 @@ > only available to super-user - send a message -`wall {{message}}` +`echo "{{message}}" | wall` + +- send a message from a file +`wall {{file}}` - send a message with timeout (default 300) -`wall -t {{seconds}} {{message}}` +`wall -t {{seconds}} {{file}}`