- Edited
Open nautilus the file explorer and check if there is any folder with name "modprobe.d" inside "etc" folder.
so path is /etc/modprobe.d/
This command:
echo "options snd-hda-intel model=generic" | sudo tee -a /etc/modprobe.d/alsa-base.conf
adds: options snd-hda-intel model=generic
on alsa-base.conf file.
If the file doesn't exit, it will be created.
if it exists them the option -a will add a new line "options snd-hda-intel model=generic" at the end of file alsa-base.conf
without -a, it will overwrite everything and there will be only the line "options snd-hda-intel model=generic".