get version of debian code example Example: What debian version do i use lsb_release -a #this shows all info about your distro.