Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 08-16-2007, 05:40 AM   #1
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 ?

Old 08-16-2007, 06:38 AM   #2
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, 07:01 AM   #3
LQ Newbie
Registered: Aug 2007
Posts: 0

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

Rep: Reputation: 0
Please try:

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

Original Poster
Rep: Reputation: 0
nah , not working

must be a pstree command i guess


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

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

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