echo power | tee /sys/devices/system/cpu/cpufreq/policy*/energy_performance_preference echo power | tee /sys/devices/system/cpu/cpufreq/policy*/energy_performance_preferenceFound 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.