Linux Crash Course - The lsof Command
Learn Linux TV Learn Linux TV
638K subscribers
28,929 views
0

 Published On May 4, 2023

In the Linux Crash Course series, you'll learn all the skills you'll need to become a seasoned Linux Administrator, one video at a time! In this episode, we'll take a look at the lsof command, which you can use to view open files on your Linux server or workstation. This is definitely a very useful command, so don't miss out!

Thanks to Akamai for sponsoring today's video!
• Set up your own cloud server with Akamai's Connected Cloud ➜ https://learnlinux.link/akamai

LPI Linux Essentials Course Available
Check out the new course on Udemy! ➜ https://learnlinux.link/lpi-course
➜ https://learnlinux.link/lpi-course

Check out the Linux Shop
In the official shop, you'll find Shirts, hats, stickers, bags and more!
➜ https://merch.learnlinux.tv

5% discount on LPI exam vouchers
After you finish Jay's new course, get 5% off an LPI exam voucher here:
➜ https://learnlinux.link/lpi-voucher

Become a Patron
Show your support for Learn Linux TV on Patreon and get access to exclusive perks!
➜ https://learnlinux.link/patron

Become a Channel Member
Show your support for Learn Linux TV here on YouTube and get access to exclusive perks!
➜ https://learnlinux.link/member

Mastering Ubuntu Server: 4th Edition
Jay's latest book covers everything you need to know in order to master Ubuntu Server. It's available here:
➜ https://ubuntuserverbook.com

Linux Gear and Kits
Check out Jay's choice of hardware products, audio/video equipment, and more.
➜ https://learnlinux.link/amazon

Grab an awesome Pi-powered KVM
Support Learn Linux TV and grab yourself a TinyPilot KVM here:
➜ https://learnlinux.link/tinypilot

Note: Royalties and/or commission is earned from each of the above links

Time Codes
00:00 - Intro
02:15 - Akamai
03:41 - Basic usage of the lsof command
05:16 - Overview of the header columns of lsof output
12:09 - Filtering the output of the lsof command by user
14:49 - Narrowing down the output of lsof by process
16:19 - Using the lsof command to find processes by process ID
17:11 - A real-world example of the lsof command in action!
19:59 - Excluding a user from the output of the lsof command
21:06 - Using the lsof command to view open files by IPv4 and IPv6 IP addresses

Full Courses from Learn Linux TV
• Linux Crash Course series ➜ https://linux.video/cc
• Learn how to exit use tmux ➜ https://linux.video/tmux
• Learn how to use vim ➜ https://linux.video/vim
• Bash Scripting Series ➜ https://linux.video/bash
• Proxmox VE Cluster Full Course ➜ https://linux.video/pve
• Learn Ansible ➜ https://linux.video/ansible

Linux-related Podcasts
• Enterprise Linux Security ➜ https://enterpriselinuxsecurity.show
• The Homelab Show ➜ https://thehomelab.show

Official *Learn Linux TV on the Web*
• Main site ➜ https://www.learnlinux.tv
• Community ➜ https://community.learnlinux.tv

Content Ethics
• The following article covers the rules and guidelines Learn Linux TV abides by ➜ https://www.learnlinux.tv/content-ethics

Disclaimer
LearnLinuxTV produces technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). LearnLinuxTV is not responsible for any damages that may arise from any use of the content and information that's being provided. The viewer is expected to follow best judgement and to make his/her/their best decisions while working with production or non-production software, systems and hardware.

#Linux #LinuxTutorial #DevOpsTutorial

show more

Share/Embed