LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2011, 11:54 PM   #1
pgflrob
LQ Newbie
 
Registered: Jan 2011
Posts: 7

Rep: Reputation: 0
lsof command not found


I have a Ubuntu 10.04 LTS server that is missing its lsof command. How do I install it?
 
Old 11-19-2011, 12:16 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Code:
sudo apt-get install lsof
Cheers,

Josh
 
1 members found this post helpful.
Old 11-19-2011, 06:37 AM   #3
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 4
Posts: 340
Blog Entries: 4

Rep: Reputation: 63
lsof

Try this:
/usr/sbin/lsof
 
0 members found this post helpful.
Old 11-20-2011, 12:38 AM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
Originally Posted by nigelc View Post
Try this:
/usr/sbin/lsof
Note that if it is located under /usr/sbin, you may have to run it as root.
 
0 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] lsof command not found (CentOS) JJJCR Linux - Newbie 2 10-07-2011 05:42 AM
lsof command alternative zeusys Linux - Newbie 2 09-04-2011 06:59 PM
using lsof command rheosiva Linux - Newbie 2 04-02-2009 02:36 AM
using lsof command rheosiva Linux - Security 1 04-01-2009 09:56 AM
lsof: command not found ionian2k Linux - Newbie 1 12-26-2002 09:59 PM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration