Hi, I built 2 arrays they are:
@virtuals and @physical
Each array will have 2-5 elememts in them.
What I'm trying to do is, for each element in the array create 2 variables. The first variable will be the element and the second variable will be all the other elements in both the @physicals and...
I want to send a bunch of line to an output file - my script is creating a configuration file. I want to do something like this but not sure how..
outputfile.config<
text of file
lines of configs
yada yada yada
>>EOF
Preemption can only be turned off or on. Preemption is described in the admin guide:
Preemption of Client or Server Operations
The server can preempt server or client operations for a higher priority operation when a mount point is in use and no others are available, or access to a specific...
When using su I need to pass the script to the su command..
for example..
script1.sh:
su nonroot "script2.sh"
script2.sh
touch nonrootfile
Is there a way I can run script2.sh without calling it from script1.sh? The startup script is a few hundred lines and I don't see how I could pass that...
I have a startup script linked from /etc/init.d to /etc/rc3.d. When the system boots root starts the script and owns the processes. How can I have the script started as a different user?
Thanks.
You can update your filling vols to reado in the stgpool except for the target for your move data. Issue your move data and once the process kicks off put the other filling vols back to readw.
MillerH - like you said, the back slashes are patterns in the file so your solution looks like the way to go.
I have one more question.. You've showed me a 2 new RE operators \Q and \E. I read in perldoc perlfaq6 but I don't fully understand its need. Can you explain or maybe direct me to a...
I'm trying to find a directory path in a file and can only get it to work with 3 back slashes.
sample file:
this is a sample file line
here is C:\directory\match
another line
script to find the directory path named in the file:
$path = "C:\\\directory\\\match";
open IN, "samplefile" or die...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.