LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2004, 03:08 PM   #1
DrGnome
Member
 
Registered: Apr 2004
Posts: 32

Rep: Reputation: 15
shortcut to binaries?


is there a way to create a shortcut to a binary, so say i install firefox in a home directory i then want to be able to execute it by typing firefox not /root/firefox/firefox, is there a way to put a shortcut in the bin folder or somthing?

thanks
 
Old 04-07-2004, 03:27 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
In general, yes. However, symlinks (man ln)
don't always work as one expects :} ... specially
if libraries are required, or if the symlink is to
a script of sorts.


Cheers,
Tink
 
Old 04-07-2004, 03:27 PM   #3
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Hi there DrGnome!

You could make a symbolic link. As root, type:

ln -s /path to firefox executable /usr/bin/firefox

Good luck!
 
Old 04-07-2004, 03:33 PM   #4
DrGnome
Member
 
Registered: Apr 2004
Posts: 32

Original Poster
Rep: Reputation: 15
thanks
 
  


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
What do with binaries? lectraplayer Linux - Newbie 21 11-11-2003 10:50 PM
RPM's and Binaries vierstein Linux - Newbie 4 09-12-2003 08:03 PM
rpm / binaries ? nimrod Linux - Newbie 3 12-17-2002 05:44 PM
Binaries are huge ugenn Linux - Software 1 12-13-2002 12:49 AM
Binaries socks Linux - Newbie 1 11-20-2002 10:39 AM


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