01-21-2020
Thread closed because bmk123 refused to answer questions asked in
last post here:
Please answer all questions requested by moderators and admins if you wish to get support here. Follow the moderators. This is the "rule"... not an "ask".
This year, in 2020, I am going to insure that everyone follows the community guidelines and answers all questions that mods and admin ask.
This User Gave Thanks to Neo For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
Very GM
I am searching for a specific filesystem on a serevr,
like df -k "/"
i am geting an output also...
but when i am checking for somthing like /oramnt (which is not mounted currently)
so i am geting an out like this
df -k "/oramnt"
output of root...!
so i tried... (7 Replies)
Discussion started by: bullz26
7 Replies
2. Linux
Hi All,
I have a quary regarding grep command in linux.
I have a file which contains
56677
56677
+56677
+56677
56677
56677
56677
I want to extract total count of "56677"
When I hit the following command
#cat filename | grep -w -c '56677'
the result comes 7. Its counting... (3 Replies)
Discussion started by: maddy
3 Replies
3. Shell Programming and Scripting
I'm trying to find a exact word match but couldn't do it.
ABC
ABC_NE
Searching for ABC_NE tried
grep -w </ABC_NE/>
grep "^ABC_NE$"
but didn't worked , any awk variants would also help.
---------- Post updated at 08:40 AM ---------- Previous update was at 06:48 AM ----------
I... (2 Replies)
Discussion started by: dinjo_jo
2 Replies
4. UNIX for Dummies Questions & Answers
I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL.
I need the whole word... (6 Replies)
Discussion started by: chicchan
6 Replies
5. Shell Programming and Scripting
QUESTION1:
How do you grep only an exact string. I am using Solaris10 and do not have any GNU products installed.
Contents of car.txt
CAR1_KEY0
CAR1_KEY1
CAR2_KEY0
CAR2_KEY1
CAR1_KEY10
CURRENT COMMAND LINE: WHERE VARIABLE CAR_NUMBER=1 AND KEY_NUMBER=1
grep... (1 Reply)
Discussion started by: thibodc
1 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I have a text / log file which contains strings like meta777, 77, meta, 777. Now I want to write a script which can detect a string 'meta#777' in a text file & number of occurence of 'meta', number of #, number 7, 77, 777.
I'm using grep -e '77' filename but no luck. It is returning... (5 Replies)
Discussion started by: adc22
5 Replies
7. Shell Programming and Scripting
This may be stupid question but not able to solve it.
How to grep exact word and line along with it.
TEST:/u00/app/oracle/product/10.2.0/TEST:N
TEST2:/u00/app/oracle/product/10.2.0/ODS:N
TEST3:/u00/app/oracle/product/10.2.0/TEST:N
TEST4:/u00/app/oracle/product/10.2.0/ODS:N... (4 Replies)
Discussion started by: tapia
4 Replies
8. Shell Programming and Scripting
Hi,
i have a file that contains the following:
ARTPRD01_app =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 11.222.3.4)(PORT = 1540))
(CONNECT_DATA =
(SERVICE_NAME = artprd01.com)
ARTPRD01 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 11.223.3.1)(PORT =... (2 Replies)
Discussion started by: reignangel2003
2 Replies
9. Shell Programming and Scripting
Hi
i am writing and i want to take very first word "A924A5FC"from the below o/p
A924A5FC 0910055313 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
A924A5FC 0908091913 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY TERMINATED
A924A5FC 0906090313 P S SYSPROC SOFTWARE... (4 Replies)
Discussion started by: scriptor
4 Replies
10. UNIX for Beginners Questions & Answers
Hi
I am trying to grep multiple exact word from log file and directing it to a new file.
however my log file has many numeric values, such as 0400, 0401, 0404
and all html error also starts with 404, 401 etc
so I just want to grep only when 404, 401 etc is coming, NOT 0400, OR 0401
i have... (8 Replies)
Discussion started by: scazed
8 Replies
LEARN ABOUT SUSE
moderators
MODERATORS(5) InterNetNews Documentation MODERATORS(5)
NAME
moderators - Submission addresses for moderated groups
DESCRIPTION
When an unapproved article is posted locally to a moderated newsgroup, it is not passed off to innd for normal handling; instead, it is
sent via e-mail to the submission address for that newsgroup. The submission address is determined using this configuration file.
The file pathetc/moderators is a list of associations between uwildmat(3) patterns matching newsgroups and the submission address for those
newsgroups. Blank lines and lines starting with a number sign ("#") are ignored. All other lines should consist of two fields separated
by a colon:
<pattern>:<address>
The first field is a uwildmat(3) pattern matching the group or groups to which this line applies. The first matching line is used, so more
specific patterns should be listed before general patterns.
The second field, the submission address, should be a simple e-mail address with one exception: at most one %s may occur anywhere in the
address. If present, it will be replaced by the name of the newsgroup, with all periods in the name changed to dashes ("-"). If there is
a literal "%" in the submission address, it must be written as "%%", even if not followed by an "s".
With the %s syntax, periods are converted to dashes for historical reasons, from back in the days when periods in the local part of
addresses were not always handled correctly. It's probably no longer necessary, but so much now depends on it that it can't be easily
changed.
It's intended that the sample moderators file included in the INN distribution always be sufficient for all world-wide newsgroups. The
hosts behind moderators.isc.org have graciously volunteered to handle forwarding tasks for all world-wide newsgroups so that individual
sites don't have to keep track of the submission addresses for moderated groups. The forwarding database used by moderators.isc.org is
coordinated by <moderators-request@isc.org>; if you know of a world-wide newsgroup hierarchy that is not correctly handled by
moderators.isc.org, please send the details to that address.
Given that, the only thing you should have to add to the sample file under normal circumstances are the forwarding addresses for local or
limited-distribution moderated groups.
If this file doesn't exist, or if a post is made to a moderated group that has no matching entry in this file, nnrpd falls back on the
value of moderatormailer set in inn.conf and, failing that, rejects the post.
EXAMPLES
Here is a sample file:
example.important:announce@example.com
example.*:%s@smtp.example.com
*:%s@moderators.isc.org
Using the above file, postings to the moderated newsgroup in the left column below will be sent to the address shown in the right column
below:
example.important announce@example.com
example.x-announce example-x-announce@smtp.example.com
alt.dev.null alt-dev-null@moderators.isc.org
Note that periods are changed to dashes and dashes are left alone with the %s syntax, so two moderated newsgroups whose names differ only
by changing a period to a dash would go to the same address. Such newsgroup pairs should therefore not be created.
HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. Rewritten in POD by Russ Allbery <rra@stanford.edu>.
$Id: moderators.pod 8830 2009-11-29 16:49:59Z iulius $
SEE ALSO
inn.conf(5), nnrpd(8), uwildmat(3).
INN 2.5.2 2010-02-08 MODERATORS(5)