12-12-2011
I think this option might help u...
-n, --quiet, --silent
suppress automatic printing of pattern space
This User Gave Thanks to siva shankar For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How can i clear all space characteres for a long file at the end of each line? (3 Replies)
Discussion started by: osymad
3 Replies
2. UNIX Desktop Questions & Answers
Is there any way to delete the Junk Characters(Invalid Characters like ^,',",),(,&,# etc.,) at the end of each record in a file?
I want to do this using a single line script.
Thanks to all in advance!!! (5 Replies)
Discussion started by: dave_nithis
5 Replies
3. UNIX for Advanced & Expert Users
Hi, I've got a file where in the middle of the record is a $ end of line character, visible only when I open the file in vi and do :set list. How to I get rid of the character in the middle and keep it at the end. The middle $ character always appears after SW, so that can be used to tag it.... (3 Replies)
Discussion started by: bwrynz1
3 Replies
4. UNIX for Dummies Questions & Answers
Hi All
i need to delete a recurring word from point "n" till end of the file. there are other words in this file so i cannot use `dG`, can anyone help me out?
Kind regards
Brian (4 Replies)
Discussion started by: brian112
4 Replies
5. Shell Programming and Scripting
I have a text file with two coulmn
first column is just used in to show the line number, these line number are not there in the real file.
I want to delete the line 16(in this file) here, even tough there is no data inside it . this empty line is causing me a problem by throwing me garbage... (12 Replies)
Discussion started by: shashi792
12 Replies
6. Shell Programming and Scripting
does any one know how to turn the equivalent of this command:
awk '/2011 John Doe 8344/,0' /tmp/ops.log | egrep -c "received request"
to
something that would use egrep instead of awk?
What the awk command does is, it searches the ops.log file for "2011 John Doe 8344". When it finds it,... (4 Replies)
Discussion started by: SkySmart
4 Replies
7. Shell Programming and Scripting
Hi Guys,
I have a quetion which was already discussed in the forum, but for some reason all approches suggested fail for me.
I have a file which have blank lines at the body of the text as well as at the end. I need to delete ONLY blank lines at the end. Unfortunatly the approach below does not... (5 Replies)
Discussion started by: aoussenko
5 Replies
8. UNIX for Dummies Questions & Answers
My server got messed up and the names of my files were not completely processed. As results I ended up getting a bunch of files with the following names:
I need to remove the underscore and everything before it. Thus, the files will be renamed to something like this:
Any help will be greatly... (3 Replies)
Discussion started by: Xterra
3 Replies
9. Shell Programming and Scripting
hi,
I would like to ask or is it possible to dump a hex using dd from starting point to end point just like the "xxd -s 512 -l 512 <bin file>"
I know the redirect hexdump -C but i can't figure it out the combination options of dd.
Hope someone can share their knowledge..
Thanks in... (3 Replies)
Discussion started by: jao_madn
3 Replies
10. Shell Programming and Scripting
Hi,
I am trying to remove lines once a string is found till another string is found including the start string and end string. I want to basically grab all the lines starting with color (closing bracket). PS: The line after the closing bracket for color could be anything (currently 'more').... (1 Reply)
Discussion started by: Dabheeruz
1 Replies
rlprd(8) UNIX Reference Manual rlprd(8)
NAME
rlprd - remote printing proxy daemon
SYNOPSIS
rlprd [-nqV] [-pport] [-ttimeout] [--debug]
DESCRIPTION
rlprd is a proxy which runs between the remote printing commands (rlpr(1), rlpq(1), and rlprm(1)) and standard lpd print servers in situa-
tions where the remote printing commands cannot be installed setuid root. For a discussion on how to configure the remote printing com-
mands, please see rlpr(1).
rlprd needs to be installed setuid root - if it cannot be run this way, it is useless.
rlprd works by mapping non-privileged port requests from rlpr(1) clients to privileged ports so that lpd's will listen to them. Eliminat-
ing the "security" gained by having privileged ports is a non-issue, since the Internet is no longer just Unix, and Unix is the only OS
that has the privileged port concept.
rlprd is not a replacement for lpd(8). It merely passes data to a lpd(8) on a target machine (which is specified by an invocation of a
remote printing command). However, when a client is using the rlpr suite of tools to do remote printing, the client does not need to run
an lpd(8) locally.
Note that once an rlprd is set up on a network (including the Internet), any host may connect to it and use its proxy services if it knows
the name of the machine running it.
OPTIONS
--debug
Print gobs of debugging information.
-n, --no-daemon
Don't run rlprd as a daemon. Usually not needed.
-p, --port=number
Select an alternate port (instead of 7290) to listen on. Usually not needed.
-q, --quiet, --silent
Quiet mode - stay quiet (except for fatal errors).
-t --timeout=seconds
Set the inactivity timer. If the connection hangs for more than seconds seconds, then rlprd will time out the connection. Use the
special value `-1' to wait forever. Default timeout is 3 seconds.
-V, --version
Print version and exit.
SEE ALSO
rlpr(1), rlpq(1), rlprm(1), rlprrc(5)
AUTHOR
meem <meem@gnu.org>
BUGS
/LIMITATIONS
It is not currently possible to run rlprd from inetd(8).
rlpr 2.04 1999/10/28 rlprd(8)