LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 02-18-2005, 08:38 AM   #1
HGeneAnthony
Member
 
Registered: Mar 2003
Posts: 178

Rep: Reputation: 30
Can I find links in the system that point to certain files throughout the system?


RPM's might be easier but source is usually better (in my eyes). One problem I have is I like to install all files to a specific directory. When I try to upgrade something I have I have to try and find out which links throughout the system I have to change so that the system looks for my version as opposed to the old version. Is there a convenient command that will echo back all files in the system that link to a specific file?
 
Old 02-18-2005, 09:07 AM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Your question is not properly phrased.. on a similar note, rpm's can be updated and you dont have to keep a track of where everything is installed.
Quote:
Is there a convenient command that will echo back all files in the system that link to a specific file?
locate is one of the commands. You are better off using rpm system, there is a reason its called Packet Management System.
 
Old 02-18-2005, 09:26 AM   #3
HGeneAnthony
Member
 
Registered: Mar 2003
Posts: 178

Original Poster
Rep: Reputation: 30
Reply

The reason I said I prefer source is not everything comes in rpm format, rpm packages aren't released as quick as source, and I have less dependency issues with source. For example I just downloaded MPlayer. The RPM package wouldn't install because it said a file wasn't found but the source worked beautifully (it was the same version). I've had issues with quite a few RPM packages where the source worked fine and was usually newer but the RPM didn't work.
Also I'm planning on going with Gentoo and FreeBSD and they are both source based, with package management systems. In my eyes, if you work with source it gives you the ability to work with any *nix system. I also use the command prompt for everything for the same reason.
 
Old 02-18-2005, 09:28 AM   #4
HGeneAnthony
Member
 
Registered: Mar 2003
Posts: 178

Original Poster
Rep: Reputation: 30
Reply

I checked the locate command and I didn't see any options to find where links point to. Locate seems much weaker than the find command. I realize the value in it is speed but you'd think they'd throw some better filtering options.
 
  


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 find out if my system is i386, i486, or i586? Is there a system info command? mlsbraves Linux - General 6 02-17-2009 05:08 PM
Mounting windows xp file system, creates mnt point, however, cant read files in share cmd0a0 Linux - Networking 10 04-16-2005 01:28 AM
Find all system files altered or added by me suguru Linux - Newbie 3 09-19-2004 02:18 PM
Can find files on my system! pmorkert Linux - Software 2 07-30-2003 12:40 PM
How to copy files from A computer of NT System to The other one of Unix system? whepin Linux - Newbie 5 04-06-2003 11:50 AM


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

Main Menu
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