Linux Uname Command Tutorial With Examples To List Operating System, Kernel, Machine, Processor Architecture

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/linux-uname-command-tutorial-examples-list-operating-system-kernel-machine-processor-architecture/
PINTEREST
PINTEREST
INSTAGRAM

Uname command is simple tool which provides information about the kernel, machine, processor, and operating system. There are a lot of more complex and feature  applications that can provide more information but the simplicity makes uname best choose.

Syntax

Help

Help
Help

Display Kernel Name

Kernel name is set by compiling kernel. Distributions generally provide their name in the kernel name or they set their original versioning convention. We can list kernel name with -s or --kernel-name option.

Display Kernel Name
Display Kernel Name

Display Host Name

We can display host name of the system with -n or --nodename options. The other name of the host name is node name.

Display Host Name
Display Host Name

Display Kernel Release

We can display kernel release information. This information may be useful while looking for security vulnerabilities or comp-ability options about application and kernel related tools. We will use -r or --kernel-release options.

Display Kernel Release
Display Kernel Release

Display Kernel Version

Kernel version provides information like when the kernel is compiled what distribution is is uses. We can display kernel version information with –v option.

Display Kernel Version
Display Kernel Version

Display Processor

There are a lot of different type of processors in the IT world. ARM, X86, X86_64, MIPS etc. Each processor architecture requires kernel compiled for its architecture to work. We can get kernel architecture and related processor type with -p or --processor options.

Display Processor
Display Processor

Display Operating System

Operating system information can be listed with -o option.

Display Operating System
Display Operating System

Display All Information

Up to now we have listed and displayed related information part by part. We can print and display all information in a single line with a single option. We will use -a or --all option.

Display All Information
Display All Information
RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/linux-uname-command-tutorial-examples-list-operating-system-kernel-machine-processor-architecture/
PINTEREST
PINTEREST
INSTAGRAM

Leave a Reply

Your email address will not be published.