Digital Marketing

How to solve: lsof: command not found

The lsof command is available only to root. Anyway, if you want to run it as a normal user, you can specify its full path:

$ /usr/sbin/lsof /path/to/some/file

Or

$ sudo -i lsof /path/to/some/file

Or else:

sudo dnf install lsof

Or

sudo yum install lsof

Popular posts from this blog

How to fix Google Apps Script: Script function not found: doGet

Creating sort index in MySQL

How to fix: df shows no file systems processed on Linux