DEV Community

Cover image for uname Command in CLI
Baransel
Baransel

Posted on • Originally published at baransel.dev

3 2

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.

AWS Q Developer image

Your AI Code Assistant

Implement features, document your code, or refactor your projects.
Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay