9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to replace the value of notifications_enabled to 0 if the value already set to 1 and vice versa(not the other values and spaces remain same after the value changed). I tried the below program for that. Can any one help me out.
file:test.cfg
define host {
hostgroups ... (2 Replies)
Discussion started by: praveen265
2 Replies
2. Red Hat
I've got an issue with a VMWare server running RHEL 6.3 that has dual E1000 NICs. I have configured the cards as I would normally do in /etc/sysconfig/network-scripts as ifcfg-eth0 and ifcfg-eth1. I can execute ifup eth0 and bring the interface up quite happily, however when I execute ifup eth1 it... (2 Replies)
Discussion started by: phaedrus
2 Replies
3. Shell Programming and Scripting
Here is my code. What it does is it reads an input file (input.txt which contains roughly 2,000 search phrases) and searches a directory for files that contains the search phrase. The directory contains roughly 1900 files and 84 subdirectories. The output is a file (output.txt) that shows only the... (23 Replies)
Discussion started by: jl487
23 Replies
4. Shell Programming and Scripting
Helo,
I have a kml file with 39.000 lines.
Need search text and add a sequential number before text.
Original file
<Placemark>
<name>POI</name>
<styleUrl>#waypoint</styleUrl>
<Point>
<coordinates>2.104510,41.341900</coordinates>
</Point>
... (3 Replies)
Discussion started by: saba01
3 Replies
5. Shell Programming and Scripting
Hi All,
The below code successfully tails the logfile.log file and colors every word "ERROR" in RED, thanks to the Perl statement below.
However, would anyone know how to append 1 additional search/replace to the Perl statement below, to color the word "SUCCESS" in GREEN (using ANSI \e
... (3 Replies)
Discussion started by: chatguy
3 Replies
6. Shell Programming and Scripting
I am using the following sed command to
##URL## with C:\\DOCUME~1\\abcde\\APPLIC~1\\URL
as
sed "s^$2^$3^g"
where $2 is ##URL##
and $3 is C:\\DOCUME~1\\abcde\\APPLIC~1\\URL
but i get the output as
C:\DOCUME~1\abcde\APPLIC~1\URL
How can i get the out put as... (2 Replies)
Discussion started by: codeman007
2 Replies
7. Shell Programming and Scripting
hi
sed -e '/<group>/!s/group\(.*\)/group\: files compat/' /etc/nsswitch.conf
returns
group: files compat
netgroup: files compat
How to prevent changing netgroup entry??
thank you (1 Reply)
Discussion started by: melanie_pfefer
1 Replies
8. UNIX for Advanced & Expert Users
What would you recommend for encryption on a SCO unix box, with local
application only? My box is not on the internet, and all I want to do is
take a text file of digits and encrypt them. Should I try to write my own
program, or is there a tool I can use or buy? (3 Replies)
Discussion started by: coreysan
3 Replies
9. UNIX for Dummies Questions & Answers
Hi all, :confused:
I want to know about the configuration management tool that is used in SCO UNIXWARE 7.1.3. Please refer some sites where i could get the details.
Thanks in advance
kavitha (2 Replies)
Discussion started by: kavithadass
2 Replies