System utility commands these are very basic commands that are being used in Linux environment.
Some of those commands are just like in Windows we have time we have calendar know Windows is a GUI
environment and you could view those time and calculators and stuff like that by going to accessories.
But in the next it's not possible so.
So that's why there are comments that are being built that tell you to the date the up time information
the host name you name about the operating system which means where the commands are located.
There are calculators sorry the calendar and ABC is binary calculators.
Now let's look at our Linux machine and run these commands.
One by one
Linux machine and you are logged into the GUI to the console.
You'll see the time here you also have the option to go into the applications and pull up the calendar
and you'll see all the information that are automatically viewed without running any command.
But what if you are logging in to the party or the terminal applied.
And as I said before Ninety eight percent of the time you will be logging in to the party client to
the terminal where you are going to be able to see all those GUI environment.
So let's look at the view through the party.
Again we will put in our IP addresses 192 168 56 to our one to one.
And I remember by now and if you don't you will just simply go back to console and type config enter
and the top right here.
This is the IP address you punch in that IP address right here and click on open terminal.
Open up your log in as your cell phone in the past and you are locked in.
Once you clear the screen and you will see here there is nothing but the black terminal.
So then you want it to run then you wanted to find out what time is it or what date it it is the time
date and it will tell you today is Tuesday March 13 the time and the seconds and Eastern Daylight saving
time and the year.
So that's what the date command is used for.
It's very simple.
And sometimes the D command is used to combine with the script.
So a script will wake up checks the date and it will run certain scripts will cover that in our scripting
session.
The next one is up time up time simply tells you all along been the system up for and how many users
have been logged into the system and the load average
the next one.
It tells us about the hostname right here.
Hostname let's move this to the side name we can go back to our console we could do the coast name and
you'll see this is the hostname of our Linux machine and hostname is one of the important command that
I would recommend you to run it every time you log into the system.
So you would know you are not logging in to the wrong system and you are not running very critical commands
on the wrong system.
Clearly screen the next one we have you name and you type you name it will tell you it's a Linux machine.
Again the Linux machine you do need to run this command because some time in an environment you have
Linux you have Solaris you have X many different Linux Unix flavors.
So it's good to run your name if you want to know more details about you name you type you name minus
a.
It would give you a lot more detail than just Linux that give you the hostname the kernel words and
time it was built and other architectures from the next command we need to learn is which which command
tells you the location of your command that you run that say you run the command PWT way and it tells
you that the command is telling you which directory you are in.
So where is that command located.
Of course every command has a file itself and is located located somewhere to find out you type which
P.W. D.
And it tells you this command PWT is located an user Ben PWT if you want to know more attributes about
this manual.
LS minus l user Ben PWT.
And you will see it here.
This is the script actually the command itself is a script.
The script itself is a text file that has been written by developers and it tells you right here it
is owned by root and the group is owned by root.
And these are the permissions of this file.
Everybody has the right to execute it.
If I take this bet out then I can run or nobody else can run this command.
So this is what Rich command does.
Let's clear this out.
If you want to know where is a command located.
It command is also located in use have been date.
So as you can see most of the commands are located in user bin.
And you do Ellis minus well and you see a whole bunch of commands if you want to view one period of
time could do more.
And you could see all of these commands.
There are a bunch of commands that Linux has.
What if I wanted to know how many total commands are in Linux.
Very simple you do ls minus L and if you remember you Pypard you do work around minus L.
This would give me the total number of all these lines coming up is telling me they are 597 commands
that are inside of this Linux machine.
Moving on.
What if I wanted to know the calendar if I just type Kehl it was.
It will give me the calendar of this month and this year.
What if I wanted to know the month when I was born.
That's for for training of the cow.
September 18 1977 all types of timber nine nine sorry September which is month 1977 and it will give
me a good look at it.
September 18 was Sunday so you could type any month followed by the calendar if you just wanted to know
all the months in the year 2016.
So you just type cowled 2016 and I'll give you all those months starting with of course January ending
in December.
That's what the Kelt command is used for next command we have as clear a b c b c stands for binary calculator.
If you want to do the calculation of course you could go in here and bring the calculator but you don't
want to bring the culprit in GUI mode.
You are in terminal mode so you want to use a calculator than what you do.
Hi again DC.
Hit ENTER NOW.
If you do 2 plus 2 hit enter give you for what it 256 times 3 21.
That's the answer.
So this is just a basic calculator you could do.
Division multiplication on anything that you want.
If you want to quit or just type quit and you will be out of it so these are a few system utility commands
and you could run that.
These are fun comments.
Come up with the different options in a way of course to look at the options.
You could do man on every command run with you.
Options.