how to know debian version command line code example Example: What debian version do i use lsb_release -a #this shows all info about your distro.