I have a bash program with different stages like:
$stage=1 if [ stage -le 1]; then echo "execute stage 1" fi if [ stage -le 2]; then echo "execute stage 2" fi if [ stage -le 3]; then echo "execute stage 3" fi
my codes in stages are very computationally expensive. What I want is to execute those stages which are required.
How can I call stage 3 directly and skip stage 1 and stage 2 from command terminal in linux.