User Tools

Site Tools


unix_commands:uname

uname - will print detailed info about your system

The uname (short for unix name) command will print detailed information about your Linux and Unix-like system and hardware. This includes the machine name, operating system, and kernel. To run this command, simply enter uname in your command line:

Examples:

uname [option]

Some of the options are as follows,

1. The following command prints all the system information:

$ uname -a
FreeBSD test-system.cifnet.com 13.0-RELEASE-p7 FreeBSD 13.0-RELEASE-p7 #0: Mon Jan 31 18:24:03 UTC 2022     root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

2. This command prints the type of the machine processor architecture, in our case it's amd64

$ uname -p
amd64

3. And finally the “-n” option prints the system's hostname:

$ uname -n
test-system
unix_commands/uname.txt · Last modified: 2023/01/16 04:54 by admin

CIFNet is a leading hosting solution provider, offering a wide range of services including IP bandwidth, co-location, VMware and KVM hosting.
Host Your Site with CIFNet!