To Turn OFF/ON HDMI 0 Port:
OFF: vcgencmd display_power 0 2
ON: vcgencmd display_power 1 2
To Turn OFF/ON HDMI 1 Port:
OFF: vcgencmd display_power 0 7
ON: vcgencmd display_power 1 7
To Turn OFF/ON HDMI 0 Port:
OFF: vcgencmd display_power 0 2
ON: vcgencmd display_power 1 2
To Turn OFF/ON HDMI 1 Port:
OFF: vcgencmd display_power 0 7
ON: vcgencmd display_power 1 7