01-14-2015
Thanks RudiC
It resolves. Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have one txt file, and I want replace 2 diffrent texts with somther text and the same time, I want to send that to print..
something like
sed -e 's/Times-Roman/Helvetica/'|sed -e 's/Times/Helvetica/' oldfile > newfile < lp
is this will workout? any idea? (1 Reply)
Discussion started by: redlotus72
1 Replies
2. UNIX for Dummies Questions & Answers
How can I use sed to print rulers of x characters in length on my terminal?
For example, I want sed to print a 50-character rule.
sed '// p' ??
Thanks! (5 Replies)
Discussion started by: doubleminus
5 Replies
3. Shell Programming and Scripting
guys...
i'm currently trying to parse some html code:
<tr class="first" name="bc_10934363" class=""><td class="col1"><div class="ctitle">Some text</div><div class="crec" name="pc_10934363"></div><div class="ctext">Some text</div></td><td class="col2"><div class="ctext">SF zwei</div></td><td... (6 Replies)
Discussion started by: domi55
6 Replies
4. UNIX for Dummies Questions & Answers
Hello,
ı want to started shell programing. But first, I want to learn ssh code. How can I use this codes ( sed - awk - print ). How do codes work?
Thanks..
Best Wishes.. (1 Reply)
Discussion started by: Nullsix
1 Replies
5. Shell Programming and Scripting
How do i replace a string using sed into the same file without creating a intermediate file? (7 Replies)
Discussion started by: gomes1333
7 Replies
6. Shell Programming and Scripting
Hi
Imagine that I have a text file containing the following student's data:
student: john
group: A
sex: male
age: 25
student: alice
sex: female
age: 20
group: B
It is guarantee the details will start by "student:", and then followed by the sex, age and group in any order.
Is it... (2 Replies)
Discussion started by: hezjing
2 Replies
7. Shell Programming and Scripting
Dear all,
How can I print results (and of course, send this result to the text file) of sed command.
I mean, I want to know which lines of which files sed command has found.
For e.g, the result text file should contains:
file1.c:line 12
file2.h:line 14
file2.h:line 37
Please help me (10 Replies)
Discussion started by: Hannibal2010
10 Replies
8. Shell Programming and Scripting
Hi,
I'm a newbie with scripting so I'd appreciate any help.
I have a file import.txt with below text
AA_IDNo=IDNoHere
AA_Name=NameHere
AA_Address=AddressHere
AA_Telephone=TelephoneHere
AA_Sex=SexHere
AA_Birthday=BirthdayHere
What I need is that the Lines for Name, Address and... (3 Replies)
Discussion started by: heretolearn
3 Replies
9. Shell Programming and Scripting
Hi Folks,
Below is an extract from a VME Print file which gets handed over to a print house. The problem I have is not that tricky rther looking for a way to handle it in a simple and clean way.
Is to first select all lines with "0058" which have four spaces so "0058 " as the selcetion... (3 Replies)
Discussion started by: Gary Hay
3 Replies
10. Shell Programming and Scripting
I have an input file that looks something like this:
....
key1: ABC
....
key2: DEF
....
key1: GGG
....
key2: HHH
....
The row of dots represents any number of lines that don't contain the strings "key1:" or "key2:" The strings key1: and key2: will always appear alternately as in the... (8 Replies)
Discussion started by: pmennen
8 Replies
LEARN ABOUT CENTOS
audispd.conf
AUDISPD.CONF:(5) System Administration Utilities AUDISPD.CONF:(5)
NAME
audispd.conf - the audit event dispatcher configuration file
DESCRIPTION
audispd.conf is the file that controls the configuration of the audit event dispatcher. The options that are available are as follows:
q_depth
This is a numeric value that tells how big to make the internal queue of the audit event dispatcher. A bigger queue lets it handle a
flood of events better, but could hold events that are not processed when the daemon is terminated. If you get messages in syslog
about events getting dropped, increase this value. The default value is 80.
overflow_action
This option determines how the daemon should react to overflowing its internal queue. When this happens, it means that more events
are being received than it can get rid of. This error means that it is going to lose the current event its trying to dispatch. It
has the following choices: ignore, syslog, suspend, single, and halt. If set to ignore, the audisp daemon does nothing. syslog
means that it will issue a warning to syslog. suspend will cause the audisp daemon to stop processing events. The daemon will still
be alive. The single option will cause the audisp daemon to put the computer system in single user mode. halt option will cause the
audisp daemon to shutdown the computer system.
priority_boost
This is a non-negative number that tells the audit event dispatcher how much of a priority boost it should take. This boost is in
addition to the boost provided from the audit daemon. The default is 4. No change is 0.
max_restarts
This is a non-negative number that tells the audit event dispatcher how many times it can try to restart a crashed plugin. The
default is 10.
name_format
This option controls how computer node names are inserted into the audit event stream. It has the following choices: none, hostname,
fqd, numeric, and user. None means that no computer name is inserted into the audit event. hostname is the name returned by the
gethostname syscall. The fqd means that it takes the hostname and resolves it with dns for a fully qualified domain name of that
machine. Numeric is similar to fqd except it resolves the IP address of the machine. User is an admin defined string from the name
option. The default value is none.
name This is the admin defined string that identifies the machine if user is given as the name_format option.
SEE ALSO
audispd(8)
Red Hat Jan 2008 AUDISPD.CONF:(5)