Search Results

Search: Posts Made By: radicaled
1,391
Posted By radicaled
Thanks for the quick answer. I'm working on a...
Thanks for the quick answer.
I'm working on a RedHat.
I think I miss some explanation, inside aux2 you have all the filename of the files I need to change. And inside aux3 you have the number of...
1,391
Posted By radicaled
Modify different files at the same time
Hi, I'm having the following problem.
I have some files to modify, between a large number of files.
I thought the following code


aux2=`grep -l 2.2.17 *`
print "$aux2"
aux3=`ls -l *.ksh | wc...
1,013
Posted By radicaled
Ahhhh, you are right. I put the prints backward ...
Ahhhh, you are right. I put the prints backward
Its should be

if [[ -e $new_boing ]];then
print "boing exist"
else
print "There was no boing"
fi
1,013
Posted By radicaled
File existence error
I'm trying to verify the existence of a file.


cd /usr/local/bin
old_boing=`grep -l $old_inst *`

new_boing=boing-$new_ver
print "NEW BOING $new_boing"
print "OLD BOING $old_boing"

if [[...
3,017
Posted By radicaled
perfect, with -l you get the file name. But how...
perfect, with -l you get the file name.
But how you store in a variable the filename?

I tried
response=grep -l pattern *

Thanks
3,017
Posted By radicaled
Store grep output file
Hi, I'm trying to store the output from a grep, I just want the file name.
But couldn't find how to do it.
Basically, I just want to grep <etc> * and I want to store the file name.
There is only...
1,041
Posted By radicaled
Sir, thank you very much. :b: You show me how...
Sir, thank you very much.
:b:
You show me how I can drown in a glass of water
1,041
Posted By radicaled
Warning on a if
I'm having a difficult time finding this error. The script is pretty simple, you receive some information from the command line and the it ask you if you want to continue. The script continues, but...
Showing results 1 to 8 of 8

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