uname — Print Name of Current System

Synopsis

/usr/bin/uname [-aimnprsvX] 
/usr/bin/uname [-S system-name] 

Description

The uname command prints information about the current system on the standard output.

By default, the uname command with no options displays only the name of the current operating system, as shown in the following example.

castle% uname 
SunOS 
castle% 

When you specify options, symbols representing one or more system characteristics are written to the standard output. The options print selected information returned by uname(2), sysinfo(2), or both.

Independent software vendors (ISVs) and others who need to determine detailed characteristics of the platform on which their software is either being installed or executed should ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.