Search Results

Search: Posts Made By: hedrict
3,523
Posted By hedrict
we are on AIX 5.2, thanks for looking!
we are on AIX 5.2, thanks for looking!
3,523
Posted By hedrict
rouge process wiping files from a directory
I'm hoping you guys (the experts) can help me.

We have a sweep directory (/opt/application/sweep) critical to our application process. The application will lay down a file in that directory, then...
3,245
Posted By hedrict
will traceroute work for this?
hello all-
I am soon to convert a large scale ftp server and my problem is this. There are currently over 50,000 ftp profiles (each one within an individual file) that I need to determine which of...
2,000
Posted By hedrict
hey guys thanks for the help! For...
hey guys thanks for the help!

For PASSWORD="123456" and RMT_PASSWORD="abc123" it works great. I can also get variations where I space on either side of the "=" sign. Example:

PASSWORD= "abc"...
2,000
Posted By hedrict
blanking out passwords within a file
I have a file in which I need to find every occurance of PASSWORD="somepassword" and replace the actual password with "xxx". Within the file that I am working, I can have combinations of PASSWORD or...
2,122
Posted By hedrict
thanks all! :)
thanks all! :)
2,122
Posted By hedrict
sed question
all,

I am trying to write a script that will dynamically change passwords within a group of files. Each file will have a record such as PASSWORD="xxxxxxxxx". I plan on creating a file with a list...
1,971
Posted By hedrict
sed question
all,

I am trying to use sed to read into a file and if a certain line exists (TRUSTHOSTKEY = YES), then I want to replace it with TRUSTHOSKEY = NO. My problem is that the line may exist as:
...
8,251
Posted By hedrict
sed example?
All,

Given the followng example, I have about 5000 files in which on the ACSENDDIR line below, I need to put in 2 backslashes for every occurance of a backslash that starts with ACSENDDIR or...
2,042
Posted By hedrict
one last thing... what if I wanted to ignore a...
one last thing... what if I wanted to ignore a standard subdirectory under each home directory? For example:

/home/user1/.dt


I want to ignore all of the .dt directories
2,042
Posted By hedrict
thanks Perderabo! Thats exactly what I needed
thanks Perderabo! Thats exactly what I needed
2,042
Posted By hedrict
simple script
guys,

I have a need for a simple script that scans all of our users home directories (/home/*) and looks to see if the executable bit is on. If it finds that a user has a file with an executable...
19,460
Posted By hedrict
limit to number of files in a given directory
Everyone,

We are on a unix AIX 4.3 platform and our application is written as such that all configuration files must reside in a specific directory. Currently there are over 10,000 files in this...
6,633
Posted By hedrict
rdist help 'parameter list too long'
I am trying to use the rdis command to keep a DR server in sync with our production server. My problem is that one of my directories has over 8 thousand files in it (and growing buy 300 per month)...
1,712
Posted By hedrict
evaluating for a number
I apologize for the simple question but can someone please help me with how to evaluate a number?

I will be reading in a file and if a number is >= 100000000, I will do something, if not, I will...
25,438
Posted By hedrict
thanks! it worked like a charm!
thanks! it worked like a charm!
25,438
Posted By hedrict
VI 'go to position #' command
I apologize is this is somewhere else but I did look....

Is there a command to goto position # x within the VI editor? I've seen where you can search for a particular char string but I need to go...
1,814
Posted By hedrict
triggering utility
gang,

I have a need for a utility that will 'watch' a directory and when a file pops into it, it will run a script on the file. More specifically, it will pgp decrypt the file that pops into the...
10,251
Posted By hedrict
delete files that are over 2 hours old
guys,

I have a need for a script that will delete all files in a given directory that are over 2 hours old. I will set this up to run in cron. I'm having a little trouble coming up with the syntax...
11,317
Posted By hedrict
thanks Random! sourceing my .profile fixed it!!
thanks Random! sourceing my .profile fixed it!!
11,317
Posted By hedrict
I tried that and still no luck. I think the issue...
I tried that and still no luck. I think the issue lies in an enviroment variable though the line of code that isn't executing is that of another application. I fully qualified the path and still no...
11,317
Posted By hedrict
Cron problem?
here's the scoop..

I have a ksh shell script written, that when I run it manually, it works wonderful, when I let it run via cron, it runs (tells me I have it set up correctly) but yet it doesn't...
2,646
Posted By hedrict
Stciky bits
Help!!

I am trying to give users the ability to manipulate a file via a script that was written but I don't want the users (group of Sterling) to have write permission (for fear that it'll get...
6,159
Posted By hedrict
thanks!
I posted my question before I realized that I now had an example. Thanks for your help guys..!
6,159
Posted By hedrict
awk substr examples??
Thanks for the feedback. I searched the man pages but I don't see any good examples for substr usage with awk. Do you have any examples out there that you can share?
Showing results 1 to 25 of 33

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