i have recently learned how can i use curly braces to run multiple commands using curly braces
for example, i can create 10 files like this,
touch {1..10}.txt
or file with odd names,
touch {1..10..2}
I can also restart multiple process like,
systemctl restart app9-{server,client,test}
above command will restart services called, app9-server , app9-client and app9-test
now i have a command with a space in it,
vagrant destroy app9
vagrant up app9
vagrant ssh app9
how can i run above 3 commands using braces?
I tried,
vagrant {destroy app9,up app9,ssh app9}
and
vagrant {destroy,up,ssh} app9
but none of them actually works.
Can someone please tell me how can i run these commands using braces?