DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 968,873 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for uname Command in CLI
Baransel
Baransel

Posted on • Originally published at baransel.dev

uname Command in CLI

Sign up to my newsletter for more tutorials!.

The uname command, abbreviated as Unix Name, gives information about your Linux system such as machine name, operating system, kernel, etc.

uname -a

All information that can be printed is printed on the screen.

Linux baransel.dev 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Enter fullscreen mode Exit fullscreen mode

uname -s

It prints the kernel name in use to the screen.

Linux
Enter fullscreen mode Exit fullscreen mode

uname -n

Shows the host name of your computer used in the network.

baransel.dev
Enter fullscreen mode Exit fullscreen mode

uname -r

Shows the Kernel master deployment information I am using.

3.10.0-1160.el7.x86_64
Enter fullscreen mode Exit fullscreen mode

uname -v

Displays the distribution-specific version information of the Kernel version in use, along with the release date.

#1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Enter fullscreen mode Exit fullscreen mode

uname -m

Shows the hardware name of the computer you are using.

x86_64
Enter fullscreen mode Exit fullscreen mode

uname -p

Continue this post on my blog! uname Command in CLI.

Top comments (0)

⬇️ The only reason people scroll to the bottom...

is because they want to read more. Sign up for an account to bookmark, comment, and react to articles that interest you.