Language Selection

English French German Italian Portuguese Spanish

Find open files with lsof

Filed under
HowTos

For a heavy-duty investigative or forensics tool, look no further than lsof. It comes bundled with pretty much every Linux distribution, and it's an indispensable program. The name of the tool stands for "list open files," and that's exactly what it does, with an amazing amount of detail.

For instance, on a Web server that sends e-mail, has a POP3 and IMAP server, and has MySQL, mailman, etc., executing lsof provides more than 6,200 lines of data. Now, "open files" is a bit of a misnomer as lsof will also display open TCP ports, open UDP ports, open sockets, and so forth. For instance, you could display listening TCP connections and their programs by using the netstat command.

Full Story.

More in Tux Machines

Today in Techrights

Linux Kernel and Linux Event

Red Hat News

Leftovers: Software and HowTos

  • Top Software
    The number of open source applications and tools that are available on today’s popular operating systems is simply mind-blowing. They come in all forms. Small scripts and console tools that can be easily integrated into large projects, feature-rich applications that offer everything a complete solution, well designed tools, games that encourage real participation, and eye catching candy. Open source software holds many compelling advantages over proprietary software. Open source improves the quality of the code, keeps costs down, encourages innovation and collaboration, combined with superior security, freedom, flexibility, interoperability, business agility, and much more.
  • Kodi 17.0 "Krypton" Release Candidate 3 Updates Estuary Skin, Fixes More Bugs
    The wait is almost over, and you'll finally be able to enjoy a much modern, improved, and full of new technologies Kodi media center on your PC or HTPC device, be it an Apple TV or Raspberry Pi. Martijn Kaijser announced the third Release Candidate (RC) development version for the Kodi 17.0 "Krypton" media center, and it looks to us like these pre-releases are getting smaller by the day, the RC3 build including only seven changes listed on the release notes attached to the official announcement.
  • Accessing Bingo Sites through Linux
  • Fedora - linux and shell.
  • Getting started with shell scripting