系统相关
首页 > 系统相关> > Linux uname command All In One

Linux uname command All In One

作者:互联网

Linux uname command All In One

$ uname -a

# Darwin xgqfrms-mbp.local 21.4.0 Darwin Kernel Version 21.4.0: Mon Feb 21 20:34:37 PST 2022; root:xnu-8020.101.4~2/RELEASE_X86_64 x86_64

uname

$ uname [OPTIONS]...

# print all
$ uname -a
$ uname --all
The options are as follows:
-s, (--kernel-name) - Prints the kernel name.
-n, (--nodename) - Prints the system’s node name (hostname). This is the name the system uses when communicating over the network. When used with the -n option, uname produces the same output as the hostname command.
-r, (--kernel-release) - Prints the kernel release.
-v, (--kernel-version) - Prints the kernel version.
-m, (--machine) - Prints the name of the machine’s hardware name.
-p, (--processor) - Prints the architecture of the processor.
-i, (--hardware-platform) - Prints the hardware platform.
-o, (--operating-system) - Print the name of the operating system. On Linux systems that is “GNU/Linux”
-a, (--all) - When the -a option is used, uname behaves the same as if the -snrvmo options have been given.

https://linuxize.com/post/uname-command-in-linux/

https://www.geeksforgeeks.org/uname-command-in-linux-with-examples/

https://linuxhint.com/linux-uname-command-tutorial/

https://linuxopsys.com/topics/uname-command-in-linux

https://stackoverflow.com/questions/35910074/explain-uname-a-command-on-linux-how-to-find-venders-name-of-os

https://www.ibm.com/docs/en/aix/7.2?topic=u-uname-command

https://docs.oracle.com/cd/E19504-01/802-5750/6i9g464r0/index.html

DNS tools

# nslookup
$  nslookup www.google.com
Server:		8.8.8.8
Address:	8.8.8.8#53

Non-authoritative answer:
Name:	www.google.com
Address: 142.250.204.132

# dig
$ dig www.google.com     

; <<>> DiG 9.10.6 <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43210
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;www.google.com.			IN	A

;; ANSWER SECTION:
www.google.com.		299	IN	A	142.250.204.132

;; Query time: 66 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Aug 17 15:17:09 CST 2022
;; MSG SIZE  rcvd: 59



https://linuxjourney.com/lesson/dns-tools

https://linuxjourney.com/lesson/kernel-installation

refs

https://github.com/angular/angular-cli/issues/18667

https://github.com/xgqfrms/RAIO/issues/242


Flag Counter

©xgqfrms 2012-2020

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载

标签:name,--,uname,command,https,Linux,com
来源: https://www.cnblogs.com/xgqfrms/p/16595295.html