Wednesday, October 28, 2009

Starting to use Find

I wanted to install gnash and adobe flash plugins side-by-side and thought it would be pretty easy using update-alternatives.  I have tried using update-alternatives before when trying to run the 64bit flash beta plugin side-by-side with the normal flash plugin.

This all works as long as you don't have a stray symlink to

I slightly modified the below command to: find / -name -type l -exec ls -l {} \;

Output is nice except for the "Permission Denied" notifications.

Richy’s Random Ramblings » Techy: Find All Symlinks (Symbolic Links) on a Linux System
I’ve just needed to try and find all symbolic links (symlinks) on a RedHat Enterprise Linux server so I can replicate the setup of the server (for some reason, the config files and other settings are in “non-standard” places and are symlinked from the original location).

To find all the sym links, just run this simple Linux command line option:
find / -type l -exec ls -l {} \;

(and, if you would prefer all the symlinks to be stored in a file – as there will be a very large number of them – use the command find / -type l -exec ls -l {} \; > /home/admin/symlinks.txt).

I hope this helps somebody else who has to work with undocumented strangely configured Linux machines.