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