Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-07-2004, 02:08 PM   #1
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?

Old 04-07-2004, 02:27 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
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.

Old 04-07-2004, 02: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, 02:33 PM   #4
Registered: Apr 2004
Posts: 32

Original Poster
Rep: Reputation: 15


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 09:50 PM
RPM's and Binaries vierstein Linux - Newbie 4 09-12-2003 07:03 PM
rpm / binaries ? nimrod Linux - Newbie 3 12-17-2002 04:44 PM
Binaries are huge ugenn Linux - Software 1 12-12-2002 11:49 PM
Binaries socks Linux - Newbie 1 11-20-2002 09:39 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration