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

FreeNAS, World’s Most Popular Storage OS, Gets AMD Ryzen Support, Cloud Sync

Coming six months after the release of the FreeNAS 11 stable series, the FreeNAS 11.1 update is based on FreeBSD 11.1 and introduces cloud integration, support for AMD Ryzen and Intel Xeon Scalable family of processors, OpenZFS performance improvements, as well as preliminary support for Docker application container engine through a virtual machine built from RancherOS. "FreeNAS 11.1 adds a cloud sync (data import/export to the cloud) feature," reads the announcement. "This new feature lets you sync (similar to backup), move (erase from source), or copy (only changed data) data to and from public cloud providers that include Amazon S3 (Simple Storage Services), Backblaze B2 Cloud, Google Cloud, and Microsoft Azure." Read more

Amazon Linux 2 Benchmarks, 6-Way Linux OS EC2 Compute Cloud Comparison

With Amazon AWS this week having released Amazon Linux 2 LTS I was excited to put this updated cloud-focused operating system through some performance tests to see how it stacks up with the more well known Linux distributions. Read more

Open Source “PiTalk” Turns Your Raspberry Pi Minicomputer Into A Modular Smartphone

More than a year ago, I wrote about a Raspberry Pi-powered phone called PiPhone, and the readers loved it. Just recently, I came across another similar project on Kickstarter and decided to share it on Fossbytes. Named PiTalk, the project calls itself the “first ever DIY modular smartphone.” Powered by Python, PiTalk modular smartphone is compatible with Raspberry Pi Zero, Pi 2, and Pi 3. For voice and data communication, it has a 3G module. The basic features performed by PiTalk are: Read more

antiX MX-17 Linux OS Brings Latest Debian GNU/Linux 9.3 "Stretch" Updates

Powered by Linux kernel 4.13 and using Xfce 4.12.3 as default desktop environment, antiX MX-17 comes six months after the antiX MX-16 release and promises to bring all the latest security patches and software update from the software repositories of the recently released Debian GNU/Linux 9.3 "Stretch" operating system. The MX variant ships with all the antiX live features, including persistence up to 20GB, and automatic selection of appropriate drivers for most Broadcom wireless chipsets with minimal user intervention. Being targeted at low-end computers, antiX MX-17 offers a 32-bit PAE kernel for machines with less than 4GB RAM. Read more