I have this example and i want to get on screen both condition and good
Code:

```
if [ `echo condition` ]; then echo good; fi

```

The output that i want to get:

```
condition
good

```

The output that i got:

```
good

```

As the command `echo condition` will be replaced with another command. The `if` statement must check the return code of the condition command.