Search Results

Search: Posts Made By: chappidi_pradee
38,211
Posted By chappidi_pradee
i think the script that i posted will not work...
i think the script that i posted will not work for the example that you mentioend becasue there should not be any spaces between the equal to sign (=).
5,368
Posted By chappidi_pradee
hope this helps you. please paaste this in...
hope this helps you.

please paaste this in file and run it.
but remember that this one will work only if you have values like
var1=value

there should not be any spaces between the equal to...
5,699
Posted By chappidi_pradee
#!/bin/sh /applications/app1 & sleep 20; ...
#!/bin/sh

/applications/app1 &
sleep 20;
kill $!;
/applications/app2 &
sleep 20;
kill $!;


paste this in a script and run this. hope this helps you.
2,172
Posted By chappidi_pradee
hello try this one out, hope this helps you ...
hello try this one out,

hope this helps you

please paste this in a file and make it shell executable by chmod 755 and run it.

awk ' $0 ~...
4,021
Posted By chappidi_pradee
hello please try this. hope this helps you...
hello please try this.

hope this helps you out :-)

please runthis from a script.

awk ' /^= name*/,/^= job*/ { indx += 1; arr[indx]=$0; } \
/^= code : 10/ { match_found_10="YES"; } \
/^=...
1,325
Posted By chappidi_pradee
hope this helps to you awk '{ print "n"NR...
hope this helps to you

awk '{ print "n"NR "("$3"-"$2")/"$5 ; }' ./file_name

file_name will have your input of the values.

as fabtagon mentioned please do your home work. if you are...
56,657
Posted By chappidi_pradee
hope this one helps for you awk '{...
hope this one helps for you

awk '{ chk_str="grep ^"$0"$ ./file2_name" ; system(chk_str) }' file1_name
38,211
Posted By chappidi_pradee
hope this hepls you sed -e...
hope this hepls you

sed -e 's/\(key1\=\)\(Old\)\(value1\)/\1New\2/g' filename

please iterate this in you shell programs for the key1 values and old value for each file.
6,311
Posted By chappidi_pradee
hope this works for you please add this in a...
hope this works for you

please add this in a script and change the permissions to chmod 755 for that file to make it executable.



#!/bin/sh

echo "enter the first value : \c";
read...
6,081
Posted By chappidi_pradee
hello try this one, hope this helped you ...
hello try this one, hope this helped you

find ./ dir_name -exec grep "SHELL" '{}' \; -print;
3,721
Posted By chappidi_pradee
hello please try this hope this will help you. ...
hello please try this hope this will help you.

sed -e "s/ipaddress.info=$IPchange/comm.info=$IPnew/" node.cfg >tmpnode2;
sed -n -e /comm.info=$IPnew/= tmpnode2 | awk '{ str_val="tail +" $1-10 "...
Showing results 1 to 11 of 11

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