Learn to display system information at the Linux command line.
Linux uname command summary with examples (3:28)
Videos can also be accessed from the YouTube Playlist.
Our sixty-second word, or command to memorize is
uname from our category
uname allows you to display system
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:
Our YouTube Channel is growing, don't miss out, subscribe here.
chshcommand, hit Back.
jobscommand, click Next.