Different Debian versions from two different commands











up vote
6
down vote

favorite












I wanted to check my current Debian version so I typed uname -a and it gave me some stuff including Debian 3.2.73.



But Then I found this command cat /etc/debian_version and it gave me Debian 7.9



1- What is the difference between the two commands & 2-Which version is installed?










share|improve this question















migrated from askubuntu.com Dec 24 '15 at 8:30


This question came from our site for Ubuntu users and developers.











  • 3




    The first is the version of your kernel, the second the Debian release number...
    – jasonwryan
    Dec 24 '15 at 8:32










  • @jasonwryan Thanks, you may make this as answer to be marked :)
    – AhmedWas
    Dec 24 '15 at 8:33










  • @jasonwryan So my release is Wheezy?
    – AhmedWas
    Dec 24 '15 at 8:37






  • 2




    I recommend using lsb_release -a for printing distribution specific information
    – Pandya
    Dec 24 '15 at 8:43








  • 1




    @Pandya, Yes lsb_release -a is the best. Thansk, man :)
    – AhmedWas
    Dec 24 '15 at 8:46















up vote
6
down vote

favorite












I wanted to check my current Debian version so I typed uname -a and it gave me some stuff including Debian 3.2.73.



But Then I found this command cat /etc/debian_version and it gave me Debian 7.9



1- What is the difference between the two commands & 2-Which version is installed?










share|improve this question















migrated from askubuntu.com Dec 24 '15 at 8:30


This question came from our site for Ubuntu users and developers.











  • 3




    The first is the version of your kernel, the second the Debian release number...
    – jasonwryan
    Dec 24 '15 at 8:32










  • @jasonwryan Thanks, you may make this as answer to be marked :)
    – AhmedWas
    Dec 24 '15 at 8:33










  • @jasonwryan So my release is Wheezy?
    – AhmedWas
    Dec 24 '15 at 8:37






  • 2




    I recommend using lsb_release -a for printing distribution specific information
    – Pandya
    Dec 24 '15 at 8:43








  • 1




    @Pandya, Yes lsb_release -a is the best. Thansk, man :)
    – AhmedWas
    Dec 24 '15 at 8:46













up vote
6
down vote

favorite









up vote
6
down vote

favorite











I wanted to check my current Debian version so I typed uname -a and it gave me some stuff including Debian 3.2.73.



But Then I found this command cat /etc/debian_version and it gave me Debian 7.9



1- What is the difference between the two commands & 2-Which version is installed?










share|improve this question















I wanted to check my current Debian version so I typed uname -a and it gave me some stuff including Debian 3.2.73.



But Then I found this command cat /etc/debian_version and it gave me Debian 7.9



1- What is the difference between the two commands & 2-Which version is installed?







debian kernel version






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 24 at 20:43









Rui F Ribeiro

38.3k1475126




38.3k1475126










asked Dec 24 '15 at 8:29









AhmedWas

16217




16217




migrated from askubuntu.com Dec 24 '15 at 8:30


This question came from our site for Ubuntu users and developers.






migrated from askubuntu.com Dec 24 '15 at 8:30


This question came from our site for Ubuntu users and developers.










  • 3




    The first is the version of your kernel, the second the Debian release number...
    – jasonwryan
    Dec 24 '15 at 8:32










  • @jasonwryan Thanks, you may make this as answer to be marked :)
    – AhmedWas
    Dec 24 '15 at 8:33










  • @jasonwryan So my release is Wheezy?
    – AhmedWas
    Dec 24 '15 at 8:37






  • 2




    I recommend using lsb_release -a for printing distribution specific information
    – Pandya
    Dec 24 '15 at 8:43








  • 1




    @Pandya, Yes lsb_release -a is the best. Thansk, man :)
    – AhmedWas
    Dec 24 '15 at 8:46














  • 3




    The first is the version of your kernel, the second the Debian release number...
    – jasonwryan
    Dec 24 '15 at 8:32










  • @jasonwryan Thanks, you may make this as answer to be marked :)
    – AhmedWas
    Dec 24 '15 at 8:33










  • @jasonwryan So my release is Wheezy?
    – AhmedWas
    Dec 24 '15 at 8:37






  • 2




    I recommend using lsb_release -a for printing distribution specific information
    – Pandya
    Dec 24 '15 at 8:43








  • 1




    @Pandya, Yes lsb_release -a is the best. Thansk, man :)
    – AhmedWas
    Dec 24 '15 at 8:46








3




3




The first is the version of your kernel, the second the Debian release number...
– jasonwryan
Dec 24 '15 at 8:32




The first is the version of your kernel, the second the Debian release number...
– jasonwryan
Dec 24 '15 at 8:32












@jasonwryan Thanks, you may make this as answer to be marked :)
– AhmedWas
Dec 24 '15 at 8:33




@jasonwryan Thanks, you may make this as answer to be marked :)
– AhmedWas
Dec 24 '15 at 8:33












@jasonwryan So my release is Wheezy?
– AhmedWas
Dec 24 '15 at 8:37




@jasonwryan So my release is Wheezy?
– AhmedWas
Dec 24 '15 at 8:37




2




2




I recommend using lsb_release -a for printing distribution specific information
– Pandya
Dec 24 '15 at 8:43






I recommend using lsb_release -a for printing distribution specific information
– Pandya
Dec 24 '15 at 8:43






1




1




@Pandya, Yes lsb_release -a is the best. Thansk, man :)
– AhmedWas
Dec 24 '15 at 8:46




@Pandya, Yes lsb_release -a is the best. Thansk, man :)
– AhmedWas
Dec 24 '15 at 8:46










1 Answer
1






active

oldest

votes

















up vote
5
down vote



accepted










uname



It prints the name, version and other details about the current machine and the operating system kernel running on it.



3.2.73 is kernel version of your operating system. When you run the command shows the updated Operating system, kernel version, released date etc.



/etc/debian_version



This command is used to Check version you of the Debian distribution you are running.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f251300%2fdifferent-debian-versions-from-two-different-commands%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    5
    down vote



    accepted










    uname



    It prints the name, version and other details about the current machine and the operating system kernel running on it.



    3.2.73 is kernel version of your operating system. When you run the command shows the updated Operating system, kernel version, released date etc.



    /etc/debian_version



    This command is used to Check version you of the Debian distribution you are running.






    share|improve this answer



























      up vote
      5
      down vote



      accepted










      uname



      It prints the name, version and other details about the current machine and the operating system kernel running on it.



      3.2.73 is kernel version of your operating system. When you run the command shows the updated Operating system, kernel version, released date etc.



      /etc/debian_version



      This command is used to Check version you of the Debian distribution you are running.






      share|improve this answer

























        up vote
        5
        down vote



        accepted







        up vote
        5
        down vote



        accepted






        uname



        It prints the name, version and other details about the current machine and the operating system kernel running on it.



        3.2.73 is kernel version of your operating system. When you run the command shows the updated Operating system, kernel version, released date etc.



        /etc/debian_version



        This command is used to Check version you of the Debian distribution you are running.






        share|improve this answer














        uname



        It prints the name, version and other details about the current machine and the operating system kernel running on it.



        3.2.73 is kernel version of your operating system. When you run the command shows the updated Operating system, kernel version, released date etc.



        /etc/debian_version



        This command is used to Check version you of the Debian distribution you are running.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 25 '15 at 1:20









        bahamat

        24k14690




        24k14690










        answered Dec 24 '15 at 9:08









        Raghvendra

        362139




        362139






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f251300%2fdifferent-debian-versions-from-two-different-commands%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Accessing regular linux commands in Huawei's Dopra Linux

            Can't connect RFCOMM socket: Host is down

            Kernel panic - not syncing: Fatal Exception in Interrupt