Commande - installation - linux

Résolu
Bonjour,

voilà une petite question toute bête,
je souhaiterais savoir depuis quand est installé Linux sur mon ordi, si possible en ligne de commande ..

peut être uname et/ou date ou un truc dans le genre j'imagine ...

++
Poulpoul
Configuration: Ubuntu 7.10
Firefox 2.0.0.17

3 réponses

  1. salut,

    chez moi c'est 3 !!

    [redfox@localhost ~]$ dmesg | head -3
    Initializing cgroup subsys cpuset
    Initializing cgroup subsys cpu
    Linux version 2.6.25-14.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Thu May 1 06:28:41 EDT 2008
    [redfox@localhost ~]$ uname -a
    Linux localhost 2.6.25-14.fc9.i686 #1 SMP Thu May 1 06:28:41 EDT 2008 i686 i686 i386 GNU/Linux
    [redfox@localhost ~]$
    1
    1. Modérateur
      Salut,

      Essaye avec :
      dmesg | head -1
      ;-))
      0
      1. yop,

        les commandes me donnent ceci :

        ---- pour dmesg |head -1 ----
        [ 0.000000] Linux version 2.6.22-15-generic (buildd@terranova) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Wed Aug 20 18:39:13 UTC 2008 (Ubuntu 2.6.22-15.58-generic)
        ---- pour uname ----
        Linux DTC-BareBone 2.6.22-15-generic #1 SMP Wed Aug 20 18:39:13 UTC 2008 i686 GNU/Linux
        poulpoul@DTC-BareBone:~$

        donc cela signifierait que ma dernière installation de Linux sur ma machine daterait du 20 août ?
        pourtant je l'ai installé facile 6 mois avant .... étrange

        ++
        Poulpoul
        0
        1. Contributeur
          Chez moi la commande dmesg | head -1 a marché nickel, il m'a bien confirmer le jour de l'installation et la version du noyau ;)
          0