7 thoughts on “Command to Find Current Ubuntu Version

  1. # GET AND SET UBUNTU VERSION INFORMATION
    D2_OSDIST=”(lsb_release -is)”
    D2_OSVER=”
    (lsb_release -rs)”
    D2_OSNICK=”$(lsb_release -cs)”

    Here I have set the distribution, version and nickname to variables – using bash.

Leave a Reply

Your email address will not be published. Required fields are marked *