9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am new to Unix.
can you explain in brief with examples what is variable, what is argument and what is parameter?
i searched a lot on other forums but not able to find a appropriate answer.
thanks in advance!! (3 Replies)
Discussion started by: 21laps
3 Replies
2. Shell Programming and Scripting
HI
My doubt may be basic one but I need to get it clarified..
When i use "if" condition that checks for many AND, OR logical conditions
like
if ]; then
return 0
fi
Even the if condition fails it returns as zero.. Any clue..
But if i add else condition like
if ]; ... (2 Replies)
Discussion started by: Priya Amaresh
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
1) I am trying to get involved in UNIX for educational purposes so I have installed the latest Ubuntu edition 12.04. Do you know another package that I could use it instead for educational purposes?
2)What is the difference between "~$" and "/$" (it comes with cd / and cd ~) .The... (1 Reply)
Discussion started by: Iwn
1 Replies
4. UNIX for Dummies Questions & Answers
hello everyone
i have to start with unix as it is a part of my training programme and i have to do a self study, i dont know where to start from. i need some basic questions to be answerd like why we use unix ? what is a terminal? what is an editor? why we write commands inside terminal?
these... (4 Replies)
Discussion started by: aryancool
4 Replies
5. Shell Programming and Scripting
hi,
I have some problems in my simple script about the redirect echo stdout command inside a condition. Why is the echo command inside the elif still execute in the else command
Here are my simple script
After check on the two diff output the echo stdout redirect is present in two diff... (3 Replies)
Discussion started by: jao_madn
3 Replies
6. HP-UX
Executed the following if conditions .. and got different results .
only (( )) gave correct o/p with all scenarios .
Can anybody please let me know what is the difference between and ] and ((condition)) when used with if condition.
And why each condition gave different result.
1.... (2 Replies)
Discussion started by: soumyabubun
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Please tell me where can I get started with awk..like the basics and the whole awk stuff.
Regards,
Deepti (2 Replies)
Discussion started by: gaur.deepti
2 Replies
8. Shell Programming and Scripting
what is wrong with the code below;
it starts ,then does nothing, (even it doesn't end)
#!/bin/awk
x=1
b="foo"
awk printf("%s got a %d on the last test\n","Jim",83)
myout=("%s-%d",b,x)
print myout (6 Replies)
Discussion started by: gfhgfnhhn
6 Replies
9. Shell Programming and Scripting
Hi All,
I have a basic question in Scripting.
Can anyone tell me what is the difference b/w the two syntax :
if (( $lines = 0 ));
and
if ;
when do we use the square brackets & when to use the paranthesis.
Thanks,
Pradeep (3 Replies)
Discussion started by: pradeep_desh
3 Replies