Search Results

Search: Posts Made By: doesntcompute2k
1,581
Posted By doesntcompute2k
just a thought... for i in *-DATE*.txt ...
just a thought...


for i in *-DATE*.txt
do
mv $i `echo $i | sed -n 's/-DATE//p'`
done


works in sh, ksh, bash, yada yada yada

dc++
1,381
Posted By doesntcompute2k
sed -n 's/ /\n/gp' x.x | sed -n...
sed -n 's/ /\n/gp' x.x | sed -n 's/\([Pp][Ss]_.*\)/\1/p'


dc++
16,039
Posted By doesntcompute2k
Lalit, Yes, the script is indeed running...
Lalit,

Yes, the script is indeed running exactly as I wrote it. It was an example of how to use the prstat command and get results back.

Modify it as you require.

I would think if you...
16,039
Posted By doesntcompute2k
Again, did you change "zpool" to "httpd" ??? ...
Again, did you change "zpool" to "httpd" ???

Just a thought...
16,039
Posted By doesntcompute2k
Okay, so Lalit, a couple of issues here: ...
Okay, so Lalit, a couple of issues here:

This will never work. At least never give you what you (say) you want. 'prstat' is continuous and a single pipe allows termination for the fwrite() but...
3,138
Posted By doesntcompute2k
My thought: #!/usr/bin/perl my...
My thought:


#!/usr/bin/perl
my ($dataline, $record, $buildline);
$buildline = "";
$dataline = 0;
open(INFILE, "<", "datafile.txt") or die "Cannot open datafile.txt: $!";
while( $record =...
2,269
Posted By doesntcompute2k
Just a thought...
What's wrong with.....



for i in *300.sh *400.sh *500.sh
do
grep -v "/bin/chk_env.sh" $i > ${i}.tmp
echo '~/bin/chk_env.sh' >> ${i}.tmp
mv $i ${i}.old && mv ${i}.tmp $i
done
...
1,254
Posted By doesntcompute2k
Where can I get Cryptovault for Unix?
I have searched (Google) and cannot find any reference (except in this forum) to Cryptovault for Unix. Where can I get the source code to this? Does anyone have a link?

DC
Showing results 1 to 8 of 8

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