ubuntu restart sound service code example
Example 1: ubuntu restart sound
pulseaudio -k && sudo alsa force-reload
Example 2: homebrew restart service
brew services restart mysql
Example 3: restart ubuntu 18.04 server
sudo shutdown -r now
pulseaudio -k && sudo alsa force-reload
brew services restart mysql
sudo shutdown -r now