Linux Crash Course - The lsof Command

Поділитися
Вставка
  • Опубліковано 28 січ 2025

КОМЕНТАРІ • 35

  • @cordovajose5693
    @cordovajose5693 Рік тому +4

    One of the few tech youtuber who understand accessibility. I've seen many tech/programming youtubers showing a 4K screen with text elements that are not discernible or that requires a magnifier software in order to be seen.

  • @sussusamogus7831
    @sussusamogus7831 Рік тому +1

    sneaky jay the doxxer at the end 0___0
    great video :)

  • @LoneWolf-hg2ix
    @LoneWolf-hg2ix Рік тому +8

    I primarily use it in development when I get that a port is already in use. I use it to f Ok and the process using the port. For example if I wanted to know the process using the port 4003, I use
    "lsof -i :4003"

    • @cranil
      @cranil Рік тому

      I use netstat for that.

  • @richardwalters9249
    @richardwalters9249 5 місяців тому +2

    At 23:45. You say “-c to show ‘by process’ “ …. It would really helpful if you mentioned what the C stands for. Why didn’t they use - P for process. In Linux, I’m always asking the same question - what is the history behind that syntax? Where did this originate from? When questions like that are answered in my brain I can remember things much easier.

    • @nasiolcho
      @nasiolcho 5 місяців тому

      C for command
      P for pid

  • @OcteractSG
    @OcteractSG Рік тому +6

    Even regular desktop users need to know about the lsof command. Sometimes you run into a removable storage device that just won’t unmount.

  • @Dariodeath
    @Dariodeath Рік тому

    Thank you Jay, I appreciate your work

  • @whiskeylinux
    @whiskeylinux Рік тому +2

    I had one situation where the .xsession-errors file was taking up GBs of space on a Debian install. The lsof command was a godsend.

  • @djemi3etelminigeekandhacke343
    @djemi3etelminigeekandhacke343 17 днів тому

    You don't need lsof to see which process is using which file.
    Just write a C program which uses the getdents() system call, and go through the "/proc" directory.

  • @rehannadeem2231
    @rehannadeem2231 Рік тому

    amazing to learn from this channel.

  • @petercdejong
    @petercdejong Рік тому +1

    Even for a seasoned Linux tech I learned some stuff!

  • @act.13.41
    @act.13.41 Рік тому

    Thank you so much Jay. I do appreciate your work.

  • @hvanmegen
    @hvanmegen Рік тому

    *Looks at your desk and thinks* "Edifiers, Ultrawide.. yep yep" *looks at your majesticly manscaped beard on that handsome face*... *looks at presentation and rest of your video portfolio*.. *nods approvingly and subscribes*... my wife started laughing seeing me do this.. I say "What?! I'm just a sucker for people with brains and good taste" 👍😎👍

  • @Naeidea
    @Naeidea Рік тому +1

    Hey whats the wireless keyboard/trackpad combo you have? Im looking for something just like that but the ones i see are all garbage

  • @AlienResidents
    @AlienResidents Рік тому +33

    It's often overlooked that everything in Linux is a file.

    • @kmp3e
      @kmp3e Рік тому +3

      Even the user is a file!!!

  • @brijeshkarmakar1299
    @brijeshkarmakar1299 Рік тому

    Thank you for making this video..

  • @petevenuti7355
    @petevenuti7355 Рік тому

    If you going to do a video on init systems , can you also on kernel modules?

  • @matthieujoly
    @matthieujoly Рік тому

    Really useful, thanks.

  • @petevenuti7355
    @petevenuti7355 Рік тому

    Wasn't akamai around in the isp boom of the 90's, big player , hosting cache servers, firewalls and such products? Last mile buzzword..
    over 30 years ago , I barely remember stuff

  • @protonjinx
    @protonjinx 9 місяців тому

    init gives pid to any new command that runs?!? did I get transported to a different timeline without noticing?

  • @G.T828
    @G.T828 Рік тому

    make a video on sysvinit please

  • @dragonsage6909
    @dragonsage6909 Рік тому

    Nice t-shirt.. thx

  • @flyinhawaiian9174
    @flyinhawaiian9174 Рік тому

    Thank you for these instructional videos. I'm learning how to navigate my Linux system from you. I'm primarily a gamer, but love to tinker, so your videos help me out a lot! Not to be off topic, but do you have a kit for your editing machine? Or do you edit with your recording machine? If so, what video card do you use?

  • @Theborg72
    @Theborg72 Рік тому

    hi thanks for your great clips but something i miss that i haven't seen is a way to be able to document all the smart commands and tips shown in your videos. saw that in a previous clip you showed how to set up gitlab. why not go ahead and show ex, template gitbook and be able to use it to document everything we get to learn in these courses.

  • @fsxspen
    @fsxspen Рік тому

    Hey that was my last comment on what your next video should be.

  • @0wnz0rz888
    @0wnz0rz888 Рік тому +1

    How I remember it is “List Of crap”

  • @peterjansen4826
    @peterjansen4826 Рік тому +2

    With only Firefox open I have 186962 open files. Browsers. 😆

  • @Gabriel-wo8nj
    @Gabriel-wo8nj Рік тому +1

    In less than 4 minutes we can learn about command. You used more than 25' to do same. You get fired.

  • @Laflamablanca969
    @Laflamablanca969 Рік тому

    No more Akamai! They’ve ruined linode already 😢