1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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,276
    Likes Received:
    364
    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,276
    Likes Received:
    364
    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,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    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,276
    Likes Received:
    364
    Trophy Points:
    83
    Add some to Pradeep's Reputation using [​IMG] icon near the post made by pradeep.
     
  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