10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
Newbie here.
I'm currently tasked with updating rsyslog.conf and auditd.conf on a large set of servers. I know the exact logging configurations that I want to enable. I have updated both files on on a server and hope to use the updated files as a template for the rest of the... (3 Replies)
Discussion started by: Mide
3 Replies
2. Linux
I've been looking online trying to find the correct value nice and priority can take in the limits.conf file. ON the man page it says;
Does this mean priority can be any negative number and any positive?
Then
Does this mean any number between -20 and 19 also what does the definition of nice... (13 Replies)
Discussion started by: matthewfs
13 Replies
3. Shell Programming and Scripting
Hi all,
i need help to replace certain values in a file. I need the script to check and match the ID and exNum1. if match, values in $3 (file2.txt) need to replace the value for 'START' (file1.txt) for each match.
The sample structure is like this:-
File1.txt
ID P_6
START ... (4 Replies)
Discussion started by: redse171
4 Replies
4. Shell Programming and Scripting
Hi all,
I am too new for this stuff and i am lost in perl tutorials. I need help to change dhcp entries in .conf file with a perl script.
The file entries are like below :
host bertha-clp-0 {
hardware ethernet AA:0A:A0:00:6c:40;
fixed-address 10.10.10.72;
option... (6 Replies)
Discussion started by: ekckabatop
6 Replies
5. Shell Programming and Scripting
Hi,
I am new to UNIX and shell scripting.
I have to create a shell script(ksh) which parses log4j.xml file for a given webservice name and change the corresponding value from INFO to DEBUG or vice-versa.
My log4j.xml looks like:-
<!-- Appender WEBSERVICENAME-->
<appender... (3 Replies)
Discussion started by: sanjeevcseng
3 Replies
6. Shell Programming and Scripting
Hi all,
Let say I have 2 files, 1 is source file and another is destination file.
Source file contains the following :
Kitten
Dogs
Donkey
Chicken
Turkey
And destination file contains :
Kitten, 0
Dogs, 0
Donkey, 0
Chicken, 0
Turkey, 0
Kitten, 0
Dogs, 0
Donkey, 0 (16 Replies)
Discussion started by: luna_soleil
16 Replies
7. Shell Programming and Scripting
TRASH_PATH:~/deleted/
MAX_VERSIONS:5
FILE_MAX_SIZE:1024
FOLDER_MAX_SIZE:8096
TRASH_MAX_SIZE:1024
LOG_MAX_SIZE:100
how do i change the value of TRASH_MAX_SIZE to 2040 using the script?
the filename is config.ini
please advice
Use code tags, ty. (5 Replies)
Discussion started by: classic
5 Replies
8. Shell Programming and Scripting
Let say in a file I have lines of data like this :
13;2073;461496;15075341;3;001f7d3a;2042063674;
13;2074;461446;15080241;6;001ed33a;2042020154;
13;2075;461401;15085270;6;001f593b;2042054459;
13;2076;461381;15087160;6;001f7483;2042061443;
13;2077;461419;15083419;6;001eca1a;2042017818;
I... (3 Replies)
Discussion started by: luna_soleil
3 Replies
9. Solaris
Hello Guys,
Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies
10. Shell Programming and Scripting
I have a data file. I want to write a shell script that reads a data file and reads position 19 thru 24. if the data in those fields is 002006, than it should change it to 002007.
example:
hello world hello 002006 hello world hello world
hello world hello 002005 hello world hello world... (6 Replies)
Discussion started by: rudoraj
6 Replies