From: Silvio Rhatto Date: Fri, 10 Mar 2017 11:30:56 +0000 (-0300) Subject: Adds lpq-ssh X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7a69990b01cc7f9d25e6fcfc8076bd96154f980c;p=scripts.git Adds lpq-ssh --- diff --git a/lpq-ssh b/lpq-ssh new file mode 100755 index 0000000..9def1f4 --- /dev/null +++ b/lpq-ssh @@ -0,0 +1,17 @@ +#!/bin/bash +# +# LPQ over SSH. +# + +# Parameters +BASENAME="`basename $0`" +SERVER="$1" + +# Check +if [ -z "$1" ]; then + echo "usage: $BASENAME " + exit 1 +fi + +# Proceed +ssh $SERVER lpq