Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-21-2004, 09:41 AM   #1
LQ Newbie
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
Finding an Application

Where I work we have a computer running Red Hat Linux and it has a program on it that interfaces with a test stand to test parts. I was wondering if there is anything in Linux like "program files" in Windows where I could find where the application is located on the computer, and I was also wondering what would be the best way to backup this testing program. Thanks, in advance
Old 12-21-2004, 10:13 AM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
whereis <filename> will tell you where the binary is. It varies a bit from distro to distro, but in general basic system binaries are in /bin (example: ls, passwd, chmod, chown, ect). Basic system binaries usually not needed by general users are in /sbin (example: mount, fdisk, fsck, ect).

Now, there are bin and sbin directories in /usr, /usr/local, and sometimes opt. Different distributions are setup in different ways, but most binary executables get put in one of those three places. If a program has global configuration files for all users thne /usr/local/share and /usr/share are good places to look for them (usually in a sub directory named for the program). Otherwise the configuration will be stored in a file starting with a . in your home directory. These files can be seen by adding the -a option to ls.


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 link helpblocks application to gtk application m.harshavardhan Linux - Software 0 08-16-2005 09:39 AM
ld not finding what is there Neruocomp Fedora 1 06-24-2005 11:52 PM
Need help finding an application craigja Linux - Software 1 11-18-2004 12:30 PM
how i migrate windows application to Linux base application vandarakalpesh Linux - Software 0 06-26-2004 04:34 AM
Finding which application is using a device The Last Grok Linux - Hardware 2 05-01-2004 06:42 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:52 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