Search Results

Search: Posts Made By: The Gamemaster
3,632
Posted By The Gamemaster
This basically solved it. Thanks so much for...
This basically solved it. Thanks so much for everyone's help here.
3,632
Posted By The Gamemaster
Thank you very much for this input. I apologize...
Thank you very much for this input. I apologize if I wasn't able to reply in the past few days. I got sick.

I haven't tested it yet, but will do today and let you know how it goes.

----------...
3,632
Posted By The Gamemaster
The script is for modifying a specific...
The script is for modifying a specific configuration file (ps_mon.cfg) on different servers. The 2nd field is there, so that the script will search for that keyword first in the config file, and if...
3,632
Posted By The Gamemaster
I apologize to everyone helping out here, I...
I apologize to everyone helping out here, I posted such a bad sample of what I'm actually doing. Anyway this one below is much closer to what I'm actually doing.

RHEL:syslogd:"sed -i...
3,632
Posted By The Gamemaster
Can anyone just answer my first question? ...
Can anyone just answer my first question?



I'll just find a solution regarding special characters somehow. Hopefully someone can help me out, I really need to finish this script this week.
3,632
Posted By The Gamemaster
Thanks for the tips here. I wish I could learn a...
Thanks for the tips here. I wish I could learn a new high-level language right now (Python comes to mind), but right now it's out of the question because I have a deadline with this script. The...
3,632
Posted By The Gamemaster
Parsing a control file loop
Hi,

Let's say I have a control file like this:

RHEL apple "echo apple"
RHEL bravo "ls -l bravo*"
RHEL church "chmod church.txt"

SUSE drive "chown user1 drive.txt"
SUSE eagle "echo "eagle...
6,397
Posted By The Gamemaster
How do you use the -L option? Like find -L ....
How do you use the -L option? Like find -L . -type f? Or find . -type f -L? It doesn't work for me either way. Yoda's suggestion works for me so far.
6,397
Posted By The Gamemaster
Alister, using that command I found out that some...
Alister, using that command I found out that some directories are actually symbolic links and the use of -follow seems to be working for me so far.

Thanks a lot guys.
6,397
Posted By The Gamemaster
Find command not searching recursively
I'm searching for particular scripts that contain pattern "BASIS" so I used the following command:

find . -type f -print | xargs grep "BASIS"

or

find . -type f -exec grep "BASIS" {} \;
...
2,089
Posted By The Gamemaster
It worked! Thanks you very much. You're my savior...
It worked! Thanks you very much. You're my savior :b:
2,089
Posted By The Gamemaster
Printing a variable column using awk
Hi everyone,

Ok here's the scenario.

I have a control file like this.

component1,file1,file2,file3,file4,file5
component2,file1,file2,file3,file4,file5I want to do a while loop here to...
2,554
Posted By The Gamemaster
How to delete the word after a regular expression
Example:

Lucas RUNCYCLE Rule1 Astigmatism
Robot RUNCYCLE Rule2 Jack RUNCYCLE Calendar1 June
Lucy RUNCYCLE Exception4 Fear RUNCYCLE Calendar5 August


In this example, how can I delete the...
Showing results 1 to 13 of 13

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