terminal restart dock code example
Example: relaunch doc macos
Go into Terminal and enter this command (may not work on other systems):
killall Dock
Go into Terminal and enter this command (may not work on other systems):
killall Dock