Hey everybody and welcome to the final part of the Linux come online mini course.
Now this video we're gonna be doing a quick recap on network connections because the site yet it's the
same command as the one in windows the net stack man however produces the same but different output
for Linux since as I told you everything on Linux as a file.
Right.
So this is going to make sense in a second.
However if you're following along with the same OS and you haven't decided to use your own well you're
gonna need to do is run this command sudo apt install dash wide net dash tools you Boone to does not
have the net that command installed by default.
However don't worry enterprise environments tend to have this installed for troubleshooting purposes.
Same thing with net NetApp which we're going to go over in future videos.
However just note that we just need to install it in this particular case as you see I've already installed
it.
So.
So we're all good there.
Now what we're gonna do is one take a quick look.
So if we do not start T.
And then we're going to do head dash 50 we'll grab the first few lines right.
So what I want you to notice here is this part right here.
This is what we were used to.
Currently we don't have any ports open by default.
So if we install a web server we would see a web server here.
Currently this is not connect to the Internet.
It's a fresh reboot have an even loaded Firefox.
So I mean I guess we could do a quick
double check here let us load
through Google dot com
perfect gun run that same command.
Now we can see up here we have our different addresses that we're connecting to just by going to Google
dot com.
Now if you look down here.
This is this is the standard stuff that we saw on the Windows platform.
So DCP the ports the web service it's established down here is what I want to keep your focus on.
Now what these are is something called IPC or inner process communications.
Now stuff like this where it has an active Oh it has an active IPC to this journal socket.
Now think of IPC as similar to named pipes there.
They use the same concepts but they're used for different things.
So this is mainly used for the system level stuff not necessarily the client applications that we would
be running.
So just keep in mind that this is again these are physical files.
These are socket.
It's like as an example are all files all of these connections are all files just get familiar with
the nuts that command and seeing this extra output because if you just ran that stat dash a you're going
to get a boatload of stuff.
So you just see here just a lot of stuff has been loaded and different stuff is open.
So that's why when I ran the command before I did the 50 just so we can actually see the data at the
very top.
Now this will be the last video of the command line.
Feel free to research even further.
There's thousands of different things we can do on the command line play around with it learn a few
new tips and tricks a good keyword where you're looking for something is one liners.
So if you look for you know finding all files and folders add the most disk space as a one liner or
finding all world readable files as a one liner tend to be pretty good there.
Quick copy and paste to kind of get you going.
So after this we're gonna start moving in a little bit deeper on what Linux has to offer as far as like
eye nodes and things like that.