Search Results

Search: Posts Made By: trimike
969
Posted By trimike
Is there a way to do it without perl, possibly...
Is there a way to do it without perl, possibly using KSH or awk. Thanks for the post though
969
Posted By trimike
Tab positioning
xx00102 1(SG): [ . ] [ @ ]
xx00102 3(SG): [ @ ] [ . ]
xx00115 lan900: [ @ ] [ . ]
xx00115 lan901: [ . ] [ @ ]
xx00116 1(SG): [ . ] [ @ ]
xx00116 3(SG): [ @ ] [ . ]
...
1,547
Posted By trimike
There will be around 1500-2000 lines. Yeah but...
There will be around 1500-2000 lines. Yeah but DNS is run by the Windows team......heaven forbid there be a zone transfer to a UNIX/Linux box :D

---------- Post updated at 02:32 PM ----------...
2,673
Posted By trimike
grep -w "server2 " {filename} *note the...
grep -w "server2 " {filename}

*note the space*

does not return anything
2,673
Posted By trimike
grep exact
FILE:
#test file#
server1 10.1.1.1
server2 10.1.1.2
server2-prv 10.1.1.3

grep -w "server2" {filename}

Returns:
server2 10.1.1.2
server2-prv 10.1.1.3

How would...
1,547
Posted By trimike
Do you need doing it through awk would make it...
Do you need doing it through awk would make it faster? The files this will be in production with will have vary large files to go through
1,547
Posted By trimike
Strange exit of while loop
This code is used to check for duplicate ip and hostnames in an /etc/hosts file

CENTRAL is path to /etc/hosts
AWK =awk

#check CENTRAL for duplicate ips or hostnames#
grep -v "^#"...
5,044
Posted By trimike
The is true unless you enable input or output...
The is true unless you enable input or output logging in the sudoers file. Then it logs those specifically in the sudo-io directory. From what I have found since this post is that you can change it...
5,044
Posted By trimike
change io logging directory sudo 1.7.4p6
There was an update in sudo 1.7.5 :
-The I/O log directory may now be specified in the sudoers file.

I am stuck using sudo 1.7.4p6. Because it is supported by HP on thier HP-UX builds.

Is...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 07:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy