Anonymous
8/7/2025, 4:54:02 AM No.106170622
echo "options snd-hda-intel power_save=0 power_save_controller=N" | sudo tee /etc/modprobe.d/hda.conf
It replaced the entire contents of the file with that one line.
I finally gave up on trying to find a way to restore the file and installed mint on another drive, then copied the file contents from the new hda.conf file.
Stupid tee command has overwrite as the default instead of an option. It's shit like this that makes people afraid to use the command line.
https://forums.linuxmint.com/viewtopic.php?t=399138
It replaced the entire contents of the file with that one line.
I finally gave up on trying to find a way to restore the file and installed mint on another drive, then copied the file contents from the new hda.conf file.
Stupid tee command has overwrite as the default instead of an option. It's shit like this that makes people afraid to use the command line.
https://forums.linuxmint.com/viewtopic.php?t=399138
Replies: