An ad-free and cookie-free website.
Learn to display system information at the Linux command line.
Videos can also be accessed from the Linux Essentials Playlist on YouTube.
Linux uname Command Summary with Examples (3:28)
Our sixty-second word, or command to memorize is
uname from our category
uname allows you to display system
||Display help screen|
||Display machine hardware name|
||Display operating system name|
Recall from videos 46 and 53, we explored environment variables, hard disk space and RAM memory, and here we'll access other system information.
Before we start, it helps to think of commands as mini programs and
most follow this structure:
command -option(s) argument(s).
uname command has
11 options and no arguments.
Like most commands, help is available with double-dash
-m option displays hardware, and
-o the operating system, but we'll
look at others in our terminal session.
So why is
uname an important command?
Well, you may need to access version numbers for compatibilities and
And now you know how to do that.
Okay, the best way to embed this in your memory is by typing in your own terminal window.
Find this on your Mac using a program called Terminal. On Linux use Terminal or Konsole, and currently Microsoft is adding this functionality to Windows.
Here we go. So optionless
-s for kernel name.
Next, I'll show you the
The choices available you can see here (above) and then
-a shows all.
Then, let's focus on the kernel and release, with
And last, the machine and operating system
Where machine refers to the CPU instruction set x86_64 which runs something like 90% of computers these days, and the operating system here is named GNU/Linux.
I never know, is it gu-new, new or GNU?
Okay now you know how to use
And you know the syntax for commands, options and arguments.
One last tip about the
command. So I'm not sure what types of cocktail parties you attend, and
if this would make for an interesting topic, but Wikipedia has an
interesting page on whether the name of the operating system should be
GNU/Linux or simply Linux. If interested, there's a
in the Description (YouTube).
Okay, thanks for visiting today. I hope this was a helpful
introduction to the
For an overview of the 100 videos, the 8 quizzes, a cheat sheet, the categories and a Q&A section, visit:
Look, no ads! There's something different going on here, subscribe and follow to be a part of it at the ground floor.
chshcommand, hit Back.
jobscommand, click Next.
A newly-updated free resource. Connect and refer a friend today.