Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

unix command equivalent of 'ver' in DOS

  • 28-11-2006 4:01pm
    #1
    Registered Users, Registered Users 2 Posts: 599 ✭✭✭


    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: 599 ✭✭✭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: 599 ✭✭✭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