LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lsof command not found (https://www.linuxquestions.org/questions/linux-newbie-8/lsof-command-not-found-914342/)

pgflrob 11-18-2011 11:54 PM

lsof command not found
 
I have a Ubuntu 10.04 LTS server that is missing its lsof command. How do I install it?

corp769 11-19-2011 12:16 AM

Code:

sudo apt-get install lsof
Cheers,

Josh

nigelc 11-19-2011 06:37 AM

lsof
 
Try this:
/usr/sbin/lsof

corp769 11-20-2011 12:38 AM

Quote:

Originally Posted by nigelc (Post 4528210)
Try this:
/usr/sbin/lsof

Note that if it is located under /usr/sbin, you may have to run it as root.


All times are GMT -5. The time now is 01:15 AM.