Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-10-2003, 05:47 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 18

Rep: Reputation: 0
Printing the path for a currently executing programme


I'm trying to find a way to print the (full) path of the currently executing programme.

Anyone got any ideas?


Old 10-10-2003, 05:51 AM   #2
Registered: Sep 2003
Distribution: Slackware
Posts: 170

Rep: Reputation: 30
I believe it could be found somewhere in /proc.
If you have KDE, the KDE system Guard's process table seems to know, too.
Old 10-10-2003, 06:17 AM   #3
LQ Newbie
Registered: Oct 2003
Posts: 18

Original Poster
Rep: Reputation: 0
Ok, but is there anyway to get the information with a system call?



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
how to get absolute path of current executing C/C++ prog? Thinking Programming 2 10-10-2005 10:27 AM
How to tell a C++ programme to quit ? yogeshm02 Programming 3 09-09-2005 05:59 AM
Problems installing and executing programme, lwbeng Linux - Software 5 07-24-2005 08:25 PM
Executing commands without using the full path.. LinuxBAH *BSD 2 12-02-2003 07:16 PM
how can I modify this programme? wwnn1 Programming 5 05-14-2002 07:55 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:23 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
Open Source Consulting | Domain Registration