LinuxQuestions.org
Help answer threads with 0 replies.
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 12-21-2004, 08:41 AM   #1
bcoalson
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, 09:13 AM   #2
jtshaw
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.
 
  


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


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