check debian release using cat code example Example: What debian version do i use lsb_release -a #this shows all info about your distro.