3 ms·
echo power | tee /sys/devices/system/cpu/cpufreq/policy*/energy_performance_preference
by Hello71 5y ago
echo power | tee /sys/devices/system/cpu/cpufreq/policy*/energy_performance_preference
- alexeldeib 5y agofor no additional output, sponge over tee! sponge is useful in some cases where redirecting output is annoying, and it can construct pipelines reading/writing from the same file. Found that one way later than I'd care to admit. I use tee $FILE > /dev/null <EOF quite often in some situations where redirects get ugly, and sponge is a nice util to tidy up the invocation.