LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices



Reply
 
Search this Thread
Old 08-16-2007, 06:40 AM   #1
cahdecah
LQ Newbie
 
Registered: Aug 2007
Posts: 0

Rep: Reputation: 0
find the exact location of a running exec file


hello there ,

i found something strange in my linux box .
a process called ./run 210.199

i rember that few years ago someone told me about a command that will show me the location of the process using his pid .

on short lines :

i would like to find the exact location of the process suing a command line .

anyone ?

PLEASE HELP !
 
Old 08-16-2007, 07:38 AM   #2
teek
Member
 
Registered: Jun 2004
Location: The Netherlands; Dordrecht
Distribution: Arch (at the moment)
Posts: 110

Rep: Reputation: 16
perhaps you mean: "which whateverprocess" or just use "locate whateverprocess"

Good luck.
 
Old 08-16-2007, 08:01 AM   #3
cahdecah
LQ Newbie
 
Registered: Aug 2007
Posts: 0

Original Poster
Rep: Reputation: 0
nope ! locate will display plenty of locations
 
Old 08-16-2007, 11:20 AM   #4
artiomix
LQ Newbie
 
Registered: Apr 2007
Posts: 16

Rep: Reputation: 0
Please try:

type <name>
 
Old 08-16-2007, 11:53 AM   #5
cahdecah
LQ Newbie
 
Registered: Aug 2007
Posts: 0

Original Poster
Rep: Reputation: 0
nah , not working

must be a pstree command i guess
 
  


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
Find with -exec argument - not giving proper output..how to find... hinetvenkat Linux - Server 4 01-25-2010 07:19 AM
find -exec syntax: bug in find? mfcarroll Programming 5 06-21-2007 08:13 PM
Find/locate an exact file stefaandk Linux - General 2 12-27-2005 08:56 AM
find /folder/* -exec ./file '{}' -nohomedir \; ??? utw-mephisto Linux - General 2 05-10-2005 09:09 AM
how to find an exact substring match? ldp Programming 7 02-22-2005 07:28 AM


All times are GMT -5. The time now is 10:06 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration