안녕하세요, MJ 입니다.
uname 명령어에 대한 내용을 작성 합니다.
uname 명령어는 시스템의 정보 중 일부를 출력하는 명령어 입니다.
주 목적은 커널버전을 확인하는데에 사용되지만 그 외에 다른 정보도 함께 확인 할 수 있습니다.
우선 도움말을 확인 해 보겠습니다.
[root@run-linux ~]# uname --help
Usage: uname [OPTION]...
Print certain system information. With no OPTION, same as -s.
-a, --all print all information, in the following order,
except omit -p and -i if unknown:
-s, --kernel-name print the kernel name
-n, --nodename print the network node hostname
-r, --kernel-release print the kernel release
-v, --kernel-version print the kernel version
-m, --machine print the machine hardware name
-p, --processor print the processor type (non-portable)
-i, --hardware-platform print the hardware platform (non-portable)
-o, --operating-system print the operating system
--help display this help and exit
--version output version information and exit
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Full documentation <https://www.gnu.org/software/coreutils/uname>
or available locally via: info '(coreutils) uname invocation'