Skip to content

Instantly share code, notes, and snippets.

@jshin49

jshin49/.bash_aliases

Last active Sep 27, 2017
Embed
What would you like to do?
bash commands to control nvidia gpu fan
alias upgrade="sudo -- sh -c 'apt-get update; apt-get upgrade -y; apt-get dist-upgrade -y; apt-get autoremove -y; apt-get autoclean -y'"
alias fastgpu="sudo env DISPLAY=:0 nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=100"
alias normalgpu="sudo env DISPLAY=:0 nvidia-settings -a GPUFanControlState=0"
alias mediumgpu="sudo env DISPLAY=:0 nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=60"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment