10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Can any please help the below requirement on all multiple servers and multiple dbs.
update configuration set value='yes' ;1)
the above statement apply on 31 Databases at a time on different Ip address
eg : 10.104.1.12 (unix ip address )
the above ip box contains 4 db's eg : db... (2 Replies)
Discussion started by: venkat918
2. Shell Programming and Scripting
Have a look at my script:
awk -F',' '$14==9100' *_201304*.csv|wc -l > pax1;
awk -F',' '$14==9101' *_201304*.csv|wc -l >>pax1;
awk -F',' '$14==9102' *_201304*.csv|wc -l >>pax1;
awk -F',' '$14==9103' *_201304*.csv|wc -l >>pax1
I would like to include field 42. like below
... (9 Replies)
Discussion started by: kekanap
3. Shell Programming and Scripting
I'm would to create a script that would give me the results below.
Please note the spaces in the log file are actually commas(",".)
Log file Data
0:00 21:15 899 43 31 12 25.39
0:00 21:20 736 34 19 15 35.39
0:00 21:20 776 41 28 13 ... (3 Replies)
Discussion started by: ravzter
4. Shell Programming and Scripting
I figured this would be simple, but I am stuck.
I want to end up with just "filename.extra.moreextra". So, I want to get rid of the path and .garbage
I want to do this with just ksh internals. So, no sed,grep,awk,expr,... (4 Replies)
Discussion started by: Topaz
5. UNIX for Dummies Questions & Answers
shell is /bin/ksh
I am trying to do the following in my code.. but its showing me an error
if ] && ] ]]; then
echo "id is $ida and chk_dy is $chk_dy"
the error I get is
syntax error at line 23 : `"$ida"' unexpected
I need to execute the... (2 Replies)
Discussion started by: nss280
6. Shell Programming and Scripting
I'm pretty sure I already know the answer to this, but I want to make sure I'm not overlooking anything. I'm working on a log monitoring script and every 10 lines I want to display a summary of events. The thing is, there are a lot of possible events, that likely won't have happened, so I only want... (0 Replies)
Discussion started by: DeCoTwc
7. Shell Programming and Scripting
I have 2 variables. Result1 and Result2. I want to put a condition that if Both are True then echo "All True" Else Show Error.
Right now i am doing this and getting error.
echo "All True"
line 8: '
Solution: Looking for (2 Replies)
Discussion started by: mkashif
8. Shell Programming and Scripting
I have a snippet of code Which is like this
If ( ( A || B || C ) && D ) then
Do some thing....
How to rephrase this and use it so I dont get any Errors ...
Looking out for helpful replies ..
Thanks & Regards
Srikanth GR (1 Reply)
Discussion started by: srikanthgr1
9. Shell Programming and Scripting
Hi there, probably a really simple question to answer but i cant seem to find it
can I use a logical AND (&&) within a CASE statement ie (ps this is useless syntax but youll get the idea
case "$var1","$var2" in
'Billy' && 'Bobby')
... (1 Reply)
Discussion started by: hcclnoodles
10. UNIX for Dummies Questions & Answers
hi I have following if condition
echo "Exclusion criteria"
echo "Not exclusion criteria"
above condition works perfectley but if i add one more logical condition... (3 Replies)
Discussion started by: mahabunta