Search Results

Search: Posts Made By: shivashankar_S
12,621
Posted By shivashankar_S
if [ condition 1 ]; then if [ condition 2 ];...
if [ condition 1 ]; then
if [ condition 2 ]; then
export 1
else
export 2
fi
elif [ ~condition 1 ]; then
if [ condition 2 ]; then
export 3
else
export 4
...
12,621
Posted By shivashankar_S
My code has a if loop both in main if part and...
My code has a if loop both in main if part and also in else part.

---------- Post updated at 04:25 AM ---------- Previous update was at 04:20 AM ----------

I used "then" in my code, but forgot...
12,621
Posted By shivashankar_S
Nested if loop
Hi Team,

I just want to check whether my nested if loop used is correct or not.

if [[ condition1]]
if [[condition2]]
export1
else
export2
fi
else
if...
1,415
Posted By shivashankar_S
anchal_khare: D3 is the name i used for...
anchal_khare:

D3 is the name i used for example;

3 alphabets and 4 numbers will be there altogether in the name of the directory .


eg: siv4018 ; this will be formed initially based on...
1,415
Posted By shivashankar_S
For loop like execution in shell
Hi,

In the script that i work now, I wrote the script such a way that the values retrieved using a tcl script is passed into a shell script to specify the path where the specific file needs to...
1,036
Posted By shivashankar_S
How does a if works in shell
Hi,

I need to compare and get an output for values greater than "X10" (values contain both characters and numbers) using if loop...

FOR EG:

I want to export values greater than X10,...
1,113
Posted By shivashankar_S
Thank you very much, it working for me after...
Thank you very much, it working for me after changing the parameters value..
1,113
Posted By shivashankar_S
Thanks for ur quick response, my code has...
Thanks for ur quick response,

my code has some parameters to be grepped and with the grepped values i should create a destination to source a txt file.

if [ $# -lt 10 ]; what does this $#...
1,113
Posted By shivashankar_S
New to Shell Scripting
Hi,
I've started to learn shell scripting, I need to check what is happening in the get opts loop i'm using in my scripts and I've no idea where it is going wrong. I don't think so "apeShell"...
Showing results 1 to 9 of 9

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