Uname is mainly used to query the current operating system of some version information, often used in infiltration, by querying the corresponding kernel version of the corresponding buffer overflow vulnerability to the right to do so!
Basic usage Syntax:
uname parameters
The main parameters are as follows:
-a query all information
[Email protected]:~# uname-alinux Vm-12-155-debian 4.9.0-kali3-amd64 #1 SMP Debian 4.9.18-1kali1 (2017-04-04) x86_64 GNU/ Linux
- n Query host name
[Email protected]:~# Uname-nvm-12-155-debian
- R querying kernel version information
[Email protected]:~# uname-r4.9.0-kali3-amd64
- v querying operating system version information
[Email protected]:~# uname-v#1 SMP Debian 4.9.18-1kali1 (2017-04-04)
- m querying operating system types
[Email protected]:~# uname-mx86_64
- o Query operating system name
[Email protected]:~# uname-ognu/linux
This article is from the "eth10" blog, make sure to keep this source http://eth10.blog.51cto.com/13143704/1956737
Linux command--uname