Notify of changes on a file under /proc
I have written a small ‘daemon’ in bash that will switch to the headphones if they are detected, and if not, switch to an external USB speaker with PulseAudio.
I have written a small ‘daemon’ in bash that will switch to the headphones if they are detected, and if not, switch to an external USB speaker with PulseAudio.
Is there a site someplace that lists the contents of /proc and what each entry means?
In kernel.org’s documentation on proc I found “[The latest version of this document is available online“. There I says: “… lspci is a synonym for cat /proc/pci“.
If two processes are connected by a pipe,