Scripting Linux to install several programs at once
I've been installing step by step video conversion codec 开发者_如何学Cand tools for a few hours now, and it is just plan annoying. Is it possible to design a script to load in linux to do all the commands in sequence one after another?
Absolutely. Create a plain text file, put #! /bin/bash at the top, then write all the commands in the file. Save it, "chmod +x yourFile", then run it by calling ./yourFile.
If your installs are a more intricate, I'd need to see an example to say more specifically how to do this as a shell script.
精彩评论