When writing shell scripts some values are hard coded like mic or webcam number which can change as well so it is better to get these dynamically in your scripts. It is very simple to do that and there are various ways to get this information. Let me show you my way.
#shell #script
Topic