开发者

Scripting Linux to install several programs at once

开发者 https://www.devze.com 2023-01-28 18:48 出处:网络
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 com

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消