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.
次のコマンドは 2 行を返します。これらは CPU の温度です。
acpi -t
これらの 2 行を bash スクリプトの変数に格納して、それらを操作できるようにするにはどうすればよいですか?
これを試しましたか?
var=$(acpi -t)