Linux Command-Line for Beginners: What's happening on this machine?

preview_player
Показать описание
About the Video:

A basic introduction to help you figure out what's happening on your machine, using the most popular programs for:

1. Seeing who is logged in and what they are doing,
2. Seeing which programs are using the most resources
3. Seeing what might be exposed to the network. (netstat)

Once you've mastered the commands in this video, you'll be able to quickly find out what's happening on a machine when you log in.

Рекомендации по теме
Комментарии
Автор

Chapter 3: Linux Command-Line for Beginners: What's happening on this machine?

Notes on symbols and codes:

Basic Codes:

w provides information on users, uptime, local or external user
every terminal that is opened is also shown
TTY = Terminal, FROM = where (0 = local), LOGIN@ = login time
IDLE = Idle Time, ... WHAT = what process is being run by that user/terminal

who short information on users and log in time

top process manager/ task manager (shows top programs requiring CPU power)
PID (number) is used to stop a specific process

netstat -tupln shows information about local addresses and programs that are being run from those locations
DON'T USE netstat without any flags, as it will give you a huge amount of information.

Software packages:
If you run into problems with software (while following the tutorial), use the following command:

sudo apt-get install

followed by these packages:

htop
net-tools

vincentdejong
Автор

I am on my programmer learning path, but not knowing why and how made feel like a imposter and put to much pressure on me, so i paused learning python and started learning Linux os. This gem of series you made is a life saver. Thank you very much Sensei!

rizla
Автор

Landed a sysadmin job with the requirement of linux skills, dude, u are a lifesaver.

mealatus
Автор

Your channel is a must-watch for me and I've learned a ton. Thanks man!

AndrewLee
Автор

Thank you for making these videos. Great work and super helpful. I started my infosec journey a couple months ago and am currently reading through “Linux Basic for Hackers” by OTW as well as working through modules in Hack The Box Academy. With HTB especially even their beginner stuff assumes you have a decent understanding and foundation for Linux. Your video are the clearest and most straightforward ones I’ve found this far and have been a huge help.

whoisthis
Автор

March 2018 update: Netstat is no longer included by default and must be installed with your package manager on the latest version of Ubuntu. (sudo apt install net-tools) - Yes, they also changed the package name...

dan
Автор

Awesome vid Im gonna go through the whole playlist. I realy like that you have a summary below the video as well.

theCanadian
Автор

w - shows who is logging and what they are doing
netstat -tupln shows of connection information
top/htop likes taskmanager in windows
Very helpful!

guguyang
Автор

A - Alpha: The first star in a constellation ie - Alpha Centauri. E - End, like you said. Great series so far, thank you.

bradleywelchable
Автор

This is exactly what I needed to know I configured my firewall correctly, so it really helped.
Of course to be sure I'd need to actually try attacking it myself but at least I now know that in my default setup all ports but the one I've limited to use for SSH is dead and no weird programs are listening.

Edgewalker
Автор

That little trick of running htop on one terminal then running the [w] command on a different terminal doesn't show different sessions for me, not sure why. BTW- glances is another great tool that shows system information.

HigherPlanes
Автор

woww your timezone changing through command line was awesome

agamurat
Автор

Excellent delivery, thank you for making these videos.

cainanashton
Автор

What works best for me is going into root as an admin by typing sudo-s followed by netstat -tulpn.You can't go wrong.

beagleonvodka
Автор

if i open 2 terminals with htop command on one of them left running, and then when i use w on the other one i see only one session, does that mean anything?

trishcollins
Автор

What's happening on this machine? More like "Dang, these explanations are clean!"

PunmasterSTP
Автор

The equivilent for macbook Unix seems to be "sudo lsof -iTCP -nP | grep LISTEN", i'm using that one and trying to follow along. Thanks!

kimaegaii
Автор

Dave absolutely class mate back on track very well done.

johnmcgiv
Автор

Thank you so much for these videos. I learn a ton of new stuff.

EyeDentify
Автор

Thanks so much for the time you take on these great videos.  Learning a ton from your channel.

sporock