which debian version code example
Example 1: What debian version do i use
lsb_release -a
#this shows all info about your distro.
Example 2: debian get minor version
LSB_OS_RELEASE="" lsb_release -a
lsb_release -a
#this shows all info about your distro.
LSB_OS_RELEASE="" lsb_release -a