Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

unix command equivalent of 'ver' in DOS

  • 28-11-2006 05:01PM
    #1
    Registered Users, Registered Users 2 Posts: 596 ✭✭✭


    hi, anyone know the unix command to display what version of unix is running? connected via telent sesson. thanks.


Comments

  • Registered Users, Registered Users 2 Posts: 289 ✭✭musiknonstop


    uname -a

    Try that. It works for Linux, maybe Unix too.


  • Registered Users, Registered Users 2 Posts: 596 ✭✭✭ambasite


    uname -a

    Try that. It works for Linux, maybe Unix too.

    cheers, got SunOS.


  • Registered Users, Registered Users 2 Posts: 212 ✭✭Skitbra


    I think the best one would be:

    cat /etc/issue


  • Registered Users, Registered Users 2 Posts: 53 ✭✭martinoc


    Skitbra wrote:
    I think the best one would be:

    cat /etc/issue
    No, /etc/issue is what is displayed on a console prior to log in. It does not necessarily give any info about which distribution or version thereof is running.
    uname -a
    
    provides the following information:

    The name of the kernel
    The hostname
    The kernel release
    The Kernel version
    The machine architecture
    The processor type
    The operating system


  • Registered Users, Registered Users 2 Posts: 345 ✭✭hmboards


    ambasite wrote:
    cheers, got SunOS.

    `cat /etc/release` gives the specific release of Solaris (which HW update is installed etc.)


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 596 ✭✭✭ambasite


    thanks:

    $ cat /etc/release
    Solaris 8 10/01 s28s_u6wos_08a SPARC
    Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
    Assembled 12 September 2001
    Solaris 8 Maintenance Update 7 applied
    $ uname -a
    SunOS polaris 5.8 Generic_117350-28 sun4u sparc SUNW,Ultra-Enterprise
    $


Advertisement