Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ここ数時間、ビデオ変換コーデックとツールを段階的にインストールしてきましたが、計画が煩わしいだけです。Linux にロードしてすべてのコマンドを順番に実行するスクリプトを設計することは可能ですか?
絶対。プレーン テキスト ファイルを作成し、#! を付けます。/bin/bash を先頭に置き、すべてのコマンドをファイルに書き込みます。「chmod +x yourFile」で保存し、./yourFile を呼び出して実行します。
インストールがより複雑な場合は、シェルスクリプトとしてこれを行う方法をより具体的に示す例を見る必要があります.