How would I undo or reverse an echo command?

BigCapitalist

New Member
Credits
240
Hey guys, I was trying to fix a sound issue I am having in pop os and I tried an echo command that did not work and would like to undo it. How would one go about doing this?

Thanks
 


Vrai

Well-Known Member
Credits
2,695
I don't think you would have to "undo" an echo command.
"Echo" just shows in your Terminal whatever it is that you "echoed".
It does not do anything to your sound.
Just hit 'enter' and keep going - no harm, no foul.
 

BigCapitalist

New Member
Credits
240
I don't think you would have to "undo" an echo command.
"Echo" just shows in your Terminal whatever it is that you "echoed".
It does not do anything to your sound.
Just hit 'enter' and keep going - no harm, no foul.

echo "load-module module-detect" | sudo tee -a /etc/pulse/default.pa

this is the command I ran, I am just trying to figure out how to undo it. I tried "rev" but that did not do anything.

The reason I am asking is because this command made it to where there is no sound options at all and I don't know how to fix it without undoing it somehow.
 

dos2unix

Well-Known Member
Credits
3,006
echo "load-module module-detect" | sudo tee -a /etc/pulse/default.pa

this is the command I ran, I am just trying to figure out how to undo it. I tried "rev" but that did not do anything.

The reason I am asking is because this command made it to where there is no sound options at all and I don't know how to fix it without undoing it somehow.
Just delete this line....

load-module module-detect

...from this file.

/etc/pulse/default.pa

I would recommend making a backup first.

cp /etc/pulse/default.pa /etc/pulse/default.pa.20201103
 

BigCapitalist

New Member
Credits
240
thanks, I was able to find and remove it but the original problem still persists in that the audio is not even displaying any playback device...
 

dos2unix

Well-Known Member
Credits
3,006
You may have to reboot.
What is the output from...

lspci | grep -i audio

Does your hardware show up in the sound manager?

1605988030959.png


Also some applications have their own sound/hardware manager.

1605988546790.png
 

Attachments

Last edited:


Members online


Latest posts

Top