10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
i'm trying to gether multiple pattern on remote hosts, and trying to print hostname and the pattern,
ssh remoteserver1 -C 'hostname 2>&1;cat /var/log/server1.log | awk -F ";" '"'"'{ print " "$2" "$5}'"'"'| sort | uniq -c | sort -g -r '
The output is the following,
remoteserver1
... (8 Replies)
Discussion started by: charli1
8 Replies
2. UNIX for Beginners Questions & Answers
Hello Administrators.
I have a bit difficult problem.
I have local virtual printer that has backend defined in /etc/qconf to script which in turns sends the spool to the real device.
whenever I print locally (from sap) the print works as it should. The printer queue after the print is done... (6 Replies)
Discussion started by: Deneth
6 Replies
3. Shell Programming and Scripting
john-test:/root> ssh -q chicago-ser uname;date
Linux
Fri Oct 13 16:41:11 GMT 2017
How I can print on the same line like this :
Linux Fri Oct 13 16:41:11 GMT 2017 (2 Replies)
Discussion started by: jhonnyrip
2 Replies
4. Shell Programming and Scripting
Geeks,
Could you please help me out in my script and identify the missing piece. I need to check/get the exit status of a remote command executed on remote host through script and send out an email when process/processes is/are not running on any/all server(s).
Here's the complete... (5 Replies)
Discussion started by: lovesaikrishna
5 Replies
5. Solaris
how to login with ssh to remote system with out applying the remote root/user password
with rlogin we can ujse .rhosts file
but with ssh howits possible
plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies
6. UNIX for Dummies Questions & Answers
Hello Guys
Is there any way To print a file directly from the remote server to a local printer..
? (3 Replies)
Discussion started by: supercops
3 Replies
7. UNIX for Dummies Questions & Answers
Can anyone help with the remote print queue setup for a Intermec label printer? (0 Replies)
Discussion started by: capeme
0 Replies
8. SCO
Hi,
I have set up remote printing using a HP Direct Jet print server. Prints sent to the printer connected to the device prints fine except that at the end of the report the following info also appears - Users:, Class:, Job:. How can I disable this from printing. (1 Reply)
Discussion started by: ewart
1 Replies
9. UNIX for Advanced & Expert Users
I have a printer in another state that is setup as follows:
lj8100 printer connected to their printserver (a w2k box);
users connect to a unix app on our Sun server via Exceed (we are two states away via WAN);
users submit print jobs through an established print queue through the unix app to... (0 Replies)
Discussion started by: antalexi
0 Replies
10. Programming
Is it possible to send a print job to a print queue on a different machine? (3 Replies)
Discussion started by: dangral
3 Replies
rlprrc(5) UNIX Reference Manual rlprrc(5)
NAME
rlprrc - remote printing resource file
DESCRIPTION
The rlprrc configuration file is consulted by the remote printing commands (rlpr(1), rlpq(1), and rlprm(1)) to resolve a printqueue or a
hostname. It can be used to either lookup a printqueue (printer) for a given host, or a host for a given printqueue. If both the printer
and the printhost are known, this file is never consulted.
Initially, the remote printing commands look for the file .rlprrc in the user's home directory. If that file cannot be found or does not
provide the information necessary to resolve the query, then the system-wide /etc/rlprrc is consulted (if present). If resolution is still
unsuccessful, the command fails.
There is one entry per line - each line has the format:
hostname: printer1 printer2 ... printerN
Which indicates that host hostname has printers printer1 printer2 ... printerN available. In the case where the remote printing command
knows the host to print to but does not know which printer to use on that host, the first one (printer1 here) will be used.
In the case where the remote printing command knows the printqueue (printer) to print to but does not know what host has that queue, the
last host which has the specified printqueue is used. If this behavior is not acceptable, you can force a certain host to always be used
for a certain printqueue by putting a ! after the printqueue name.
For example, an .rlprrc file containing:
foo.baz.org: litho laserjet4!
foo.bar.org: laserjet4 lineprinter
will always resolve the printqueue laserjet4 to foo.baz.org no matter what other hosts have a printqueue named laserjet4.
The rlprrc file is only consulted in situations where a printqueue or hostname needs to be resolved. It is provided only for convenience
and is not required.
SEE ALSO
rlpr(1), rlpq(1), rlprm(1), rlprd(8)
AUTHOR
meem <meem@gnu.org>
rlpr 2.04 1999/10/28 rlprrc(5)