175 reputation
29
bio website il.linkedin.com/in/karoitay
location Israel
age 32
visits member for 1 year, 6 months
seen Aug 23 at 4:33

May
19
awarded  Self-Learner
Dec
11
awarded  Notable Question
Oct
22
awarded  Notable Question
Sep
5
awarded  Popular Question
Aug
13
awarded  Popular Question
Aug
5
accepted shell script to conditionally add apt repository
Jun
8
accepted Ubuntu 13.04 with old (radeon HD 4850) graphic card
Jun
8
asked Ubuntu 13.04 with old (radeon HD 4850) graphic card
May
13
awarded  Commentator
May
13
accepted if condition on multiple lines in bash shell
May
13
comment if condition on multiple lines in bash shell
Thanks, I guess that the part that confused me is that 0 is true and 1 is false usually it is the opposite :)
May
13
comment if condition on multiple lines in bash shell
This is confusing, I'll be glad if you could provide some explanation on how conditional statements work in bash..., do_something returns 0 upon success, but then we update success to 1..., if ((success)) evaluates to something different than if success. I am confused :)
May
11
awarded  Teacher
May
11
awarded  Scholar
May
11
comment if condition on multiple lines in bash shell
Thanks, can you please provide an example?
May
11
awarded  Editor
May
11
revised if condition on multiple lines in bash shell
added 130 characters in body
May
11
comment if condition on multiple lines in bash shell
Updating the question - this is not yet the final answer :(
May
11
awarded  Supporter
May
11
comment if condition on multiple lines in bash shell
Thanks for your help :)