Knowing I am able to run echo or mv to expand patterns like these: echo {0..9}{A..Z}. I am curious to know if there is a way to do the sam
echo
mv
echo {0..9}{A..Z}
You can use eval:
eval
eval docker-compose\ {stop,rm,'up -d'}\;
Careful escaping/quoting is needed, though. Just test with echo instead of docker that it emits the correct commands:
docker
$ echo docker-compose\ {stop,rm,'up -d'}\; docker-compose stop; docker-compose rm; docker-compose up -d;