Search Results

Search: Posts Made By: kaushikraman
22,233
Posted By kaushikraman
I got it now. Thanks anyways.. it must be...
I got it now. Thanks anyways..

it must be expr[space]$variable[space]\*[space]60

thanks
22,233
Posted By kaushikraman
I get the strings concatenated if i use below: ...
I get the strings concatenated if i use below:

temp=23
expr $temp*60

it gives me '23*60' as output instead of the actual multiplied value.
Could you please help me out?
4,409
Posted By kaushikraman
what if i want a.text as an attachment?
what if i want a.text as an attachment?
4,409
Posted By kaushikraman
mailx command help
Dear All,

I need to send a mail to a group ( the address of which is in a .profile file)..My basic mailing functionality isn't working. When i try to run

mailx -s "Hello" abc@xyz.com the...
3,116
Posted By kaushikraman
Thanks folks.. I got it... Check out...
Thanks folks..

I got it...

Check out this:

https://www.unix.com/shell-programming-scripting/32969-get-line-number.html#post302096581
23,792
Posted By kaushikraman
what is $p here...and by using this sed -n...
what is $p here...and by using this sed -n "/$vr/,/G/p" yourfile.txt > out.txt
i don't get all the lines...it prints only a few lines...
3,116
Posted By kaushikraman
Hey BMDan, Apologies...for the same.. ...
Hey BMDan,

Apologies...for the same..

To clear your doubts..
1. It is not the performance i am worryin about
2. I am trying to reduce the number of comparisons as both the files contain the...
3,116
Posted By kaushikraman
Reading from a specific line in a loop
Hello All,

Request you to let me know how to do the below urgently..

Requirement

File A Contains:
for i in file A
DEV1
DEV5
STG1
STG5

File B Contains:
for j in file B
DEV1...
32,321
Posted By kaushikraman
i have a variable $a = "abcd" i do not know...
i have a variable
$a = "abcd"
i do not know the length of the string..
therefore i do not know the n value of the nth character..
how do i cut the last 4 characters in such a case?
32,321
Posted By kaushikraman
cut first 4 characters from a line
Please let me know how to cut first four characters from a line in UNIX after grepping the file..
16,654
Posted By kaushikraman
Thanks folks..Problem got resolved..there was a...
Thanks folks..Problem got resolved..there was a mismatching '`' above the mentioned lines of code which was causing the problem..

Thank you...
Regards
Kaushik
16,654
Posted By kaushikraman
It still does not work...Does it have to do...
It still does not work...Does it have to do something with the filename being conatined in the variable i?
16,654
Posted By kaushikraman
Assigning evaluated expression to a variable
Hello,

Could you please let me know what is the problem here..
28:var1="SERVER_$j"
29:eval $var1=`grep "^DBSERVER=" "$i" |cut -d"=" -f2`

i get this error:

syntax error at line 29 : `|'...
Showing results 1 to 13 of 13

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