Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Symlinks are Your Friends' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Symlinks are Your Friends
Authored by: readparse on Dec 25, '02 11:17:14PM
Let me be the token unix guy for a moment and suggest that symlinks are cooler than copies, depending of course on what you want to do. I think this utility is interesting, but of course, I didn't want to have to go to that obfuscated path, so I linked it like so:
sudo ln -s /Library/PreferencePanes/MaxMenus.prefPane/Contents/Resources/MaxMenus.app/Contents/Resources/MarsNeedsWomen /usr/bin/dragit
So now, to examine /usr/bin/dragit...
% ls -l /usr/bin/dragit
/usr/bin/dragit -> /Library/PreferencePanes/MaxMenus.prefPane/Contents/Resources/MaxMenus.app/Contents/Resources/MarsNeedsWomen
Now I can use the command "dragit" from anywhere, and logged in as anybody. Cheers, John

[ Reply to This | # ]