uname
The "uname" command line tool is used in Unix-like operating systems to display system information. When executed without any options, it simply prints the kernel name, which represents the core of the operating system. The command can display various system information by using different options. For example, the "-s" option displays the system name, such as "Linux" or "SunOS."
The "-n" option can be used to retrieve and display the network node hostname of the system. With the "-r" option, the command outputs the kernel release version, providing insights into the specific version of the operating system.
By utilizing the "-v" option, the tool prints additional information about the kernel, such as its build date and version details. The "-m" option displays the machine hardware name, revealing the type of hardware architecture the OS is running on.
The "-p" option shows the processor type information, while the "-i" option provides the system's hardware platform. The "-o" option displays the operating system identifier, which can be helpful in identifying the specific Unix-like OS in use.
Overall, the "uname" command serves as a helpful tool to retrieve system information in a concise and organized manner, facilitating system administration and troubleshooting tasks.
List of commands for uname:
-
uname:tldr:07598 uname: Print the current kernel release.$ uname --kernel-releasetry on your machineexplain this command
-
uname:tldr:207e3 uname: Print the current kernel name.$ uname --kernel-nametry on your machineexplain this command
-
uname:tldr:46536 uname: Print system architecture and processor information.$ uname --machine --processortry on your machineexplain this command
-
uname:tldr:5954d uname: Print system architecture and processor information.$ uname -mptry on your machineexplain this command
-
uname:tldr:6bef3 uname: Print system hostname.$ uname --nodenametry on your machineexplain this command
-
uname:tldr:75073 uname: Print the current kernel version.$ uname --kernel-versiontry on your machineexplain this command
-
uname:tldr:9dd46 uname: Print all available system information.$ uname -atry on your machineexplain this command
-
uname:tldr:ad95e uname: Print all available system information.$ uname --alltry on your machineexplain this command
-
uname:tldr:c1d49 uname: Print the current processor type.$ uname --processortry on your machineexplain this command
-
uname:tldr:c1f03 uname: Print kernel name, kernel release and kernel version.$ uname --kernel-name --kernel-release --kernel-versiontry on your machineexplain this command
-
uname:tldr:c925a uname: Print the current operating system name.$ uname --operating-systemtry on your machineexplain this command
-
uname:tldr:e6936 uname: Print kernel name, kernel release and kernel version.$ uname -srvtry on your machineexplain this command
-
uname:tldr:fddb0 uname: Print the current machine hardware name.$ uname --machinetry on your machineexplain this command