Linux Crash Course – The lsof Command



Linux Crash Course – The lsof Command

Linux Crash Course - The lsof Command

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

— Support Linux Learning (commission earned) —
• Receive a 5% discount on an LPI exam voucher ➜ https://learnlinux.link/lpi-voucher
• Affiliate store for Linux compatible hardware/accessories ➜ https://learnlinux.link/amazon
• Become a channel member here on YouTube ➜ https://learnlinux.link/join
• Become a Patron on Patreon ➜ https://learnlinux.link/patron
• Mastering Ubuntu Server 4th Edition ➜ http://ubuntuserverbook.com
• Awesome KVM for your Homelab ➜ https://learnlinux.link/tinypilot

— Individual Sections —
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

— Recommended stand-alone videos from Learn Linux TV —
• Essential tweaks for ALL Linux Servers ➜ https://linux.video/all-servers
• How to create a bootable flash drive for installing Linux ➜ https://linux.video/flash-usb
• Installing an operating system for Raspberry Pi ➜ https://linux.video/pi-imager
• How to connect to a Linux server via ssh ➜ https://linux.video/ssh
• Understanding Linux permissions ➜ https://linux.video/perms
• OpenSSH Guide ➜ https://linux.video/ssh-guide
• How to better secure OpenSSH ➜ https://linux.video/secure-ssh
• 10 Linux Terminal Tips and Tricks to Enhance Your Workflow ➜ https://linux.video/cli-tricks-1
• Over 15 Terminal Tricks You Should Learn ➜ https://linux.video/cli-tricks-2

— Recommended Courses from Learn Linux TV —
• Get up to speed with managing an OpenStack Cloud ➜ https://linux.video/openstack
• Learn how to write your own Bash Scripts ➜ https://linux.video/bash
• Install, configure, and maintain a Proxmox VE Cluster ➜ https://linux.video/pve
• Automate tedious setup jobs by learning Ansible ➜ https://linux.video/ansible
• Learn how to exit vim (and use it too) ➜ https://linux.video/vim

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

— Fun Linux-related Projects —
• Run your own Gitlab CE Server ➜ https://linux.video/gitlab
• Build a Kubernetes Cluster on Proxmox ➜ https://linux.video/pve-k8s
• Set up your own Nextcloud Server ➜ https://linux.video/nextcloud

— Official Learn Linux TV Sites —
• Main site ➜ https://www.learnlinux.tv
• Community ➜ https://community.learnlinux.tv

— FAQ —
• Which distro do I use? ➜ https://learnlinux.link/mydistro
• My recording gear (commissions earned) ➜ https://learnlinux.link/recording-stuff

— 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

Comments are closed.