DEV Community

Discussion on: how to resume multiple commands on one command

Collapse
 
_garybell profile image
Gary Bell

Have you considered putting the commands in a single shell script? That way if you need to add more steps, you do it in one place.

It also means if you gave to migrate to a new server or development machine, you know exactly what you need to run. You don't have to rely on memory of what is and is not part of an alias.

Collapse
 
mostafalaravel profile image
mostafalaravel

Thanks for this answer, do you have any idea how could be this shell script ?
Thanks