is there a way to assign a value to a variable, that value which we get in terminal by writing any command?
Example: command: sensors
we get cpu temperature. How can I assign this value to a temp_cpu variable. Thanks..
Yes, you use
Or for your specific example, using