command to know which OS we are using

Discussion in 'Unix' started by sharmila, May 22, 2008.

  1. sharmila

    sharmila New Member

    Joined:
    Mar 24, 2006
    Messages:
    75
    Likes Received:
    1
    Trophy Points:
    0
    Hi All,
    Can anyone let me know what is command to know which operating syatem we are using?

    Reagrds,
    Sharmila.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
  3. sharmila

    sharmila New Member

    Joined:
    Mar 24, 2006
    Messages:
    75
    Likes Received:
    1
    Trophy Points:
    0
    Hi Shabbir,
    The article was good and I really don't know about this..

    Actually my usecase is something like, we work on linux sys., but some time s we need to work on Solaris.. we know only the servers name and by using telnet we connect to the server. By seeing the name of teh machine we can't know it's OS, so will there be any command or any location in file system will tell us which OS it has?

    Regards,
    Sharmila.
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    It would depend on OS to OS and you probably need to get the list of commands supported by the OS.
     
  5. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    type the command
    Code:
    uname -a
    
     
    sharmila and shabbir like this.
  6. sharmila

    sharmila New Member

    Joined:
    Mar 24, 2006
    Messages:
    75
    Likes Received:
    1
    Trophy Points:
    0
    Thanks pradeep.. got it....
     
  7. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Add some to Pradeep's Reputation using [​IMG] icon near the post made by pradeep.
     
    Last edited: Jan 21, 2017
  8. shanthi_amirtha

    shanthi_amirtha New Member

    Joined:
    Sep 21, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    command to know which OS we are using
    Code:
    uname -o

    [/quote]
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice