diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-10 08:30:56 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-10 08:30:56 -0300 |
commit | 7a69990b01cc7f9d25e6fcfc8076bd96154f980c (patch) | |
tree | 461c79bc799aa744e55b05b7521167101f024c14 | |
parent | d5e7c04e1884badaf19452a2358dd48d5b21dec8 (diff) | |
download | scripts-7a69990b01cc7f9d25e6fcfc8076bd96154f980c.tar.gz scripts-7a69990b01cc7f9d25e6fcfc8076bd96154f980c.tar.bz2 |
Adds lpq-ssh
-rwxr-xr-x | lpq-ssh | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +#!/bin/bash +# +# LPQ over SSH. +# + +# Parameters +BASENAME="`basename $0`" +SERVER="$1" + +# Check +if [ -z "$1" ]; then + echo "usage: $BASENAME <server>" + exit 1 +fi + +# Proceed +ssh $SERVER lpq |