Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

uname

v(uutils coreutils) 0.8.0
uname [OPTION]...

Affiche certaines informations système. Sans OPTION, identique à -s.

Options

--all, -a

Se comporte comme si toutes les options -mnrsvo étaient spécifiées.

--kernel-name, -s

affiche le nom du noyau.

--nodename, -n

affiche le nom du nœud (le nom du nœud peut être un nom par lequel le système est connu d’un réseau de communications).

--kernel-release, -r

affiche la version du système d’exploitation.

--kernel-version, -v

affiche la version du système d’exploitation.

--machine, -m

affiche le nom du matériel de la machine.

--operating-system, -o

affiche le nom du système d’exploitation.

--processor, -p

affiche le type de processeur (non portable)

--hardware-platform, -i

affiche la plateforme matérielle (non portable)

Examples

The examples have not been translated yet and are shown in English. You can help by translating them on tldr-pages.

Print kernel name:

uname

Print all available system information:

uname {{[-a|--all]}}

Print system architecture and processor information:

uname {{[-mp|--machine --processor]}}

Print kernel name, kernel release, and kernel version:

uname {{[-srv|--kernel-name --kernel-release --kernel-version]}}

Print system hostname:

uname {{[-n|--nodename]}}

Print the current operating system name:

uname {{[-o|--operating-system]}}

Display help:

uname --help

The examples are provided by the tldr-pages project under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.