Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-24-2007, 08:14 AM   #1
Registered: Nov 2004
Posts: 32

Rep: Reputation: 15
make link to binary file

hi everybody,
i need to create a link (in my /etc/rc3.d) to a binary file "mybin" but i don't know the command syntax...

may you please help me?

thanks a lot!!
Old 07-24-2007, 08:20 AM   #2
Registered: Mar 2007
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 160

Rep: Reputation: 74
man ln

Basically you want this:

# ln /path/to/mybin /etc/rc3.d/
The first form of ln listed in the man page is the one I used's:

Old 07-24-2007, 08:21 AM   #3
Registered: Nov 2004
Posts: 32

Original Poster
Rep: Reputation: 15
i was too precipitous...

i find the way:

ln -s /etc/myfolder/mybin mylink

excuse me
thanks anyway
Old 07-24-2007, 02:24 PM   #4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Originally Posted by mfran2002
i find the way:

ln -s /etc/myfolder/mybin mylink
That only works if you are in the directory where you want the link. (I have always found it to be the most relibale way to make links---"linking in").

Note that you can also do:
ln -s /path/path/filename (makes a link named "filename" in the current directory


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
Bash File Name Matching - Binary file .ogg matches !!! maxvonseibold Linux - General 8 01-30-2007 06:31 PM
Reading text file-writting binary file cdog Programming 5 06-13-2006 11:56 AM
Automatically tell text file from binary file? Hosiah Linux - Software 3 05-31-2005 05:22 AM
convert text file to binary excel file ust Linux - General 2 11-23-2004 02:33 AM
mounting a binary file thats not on any file system!?!!? aXoneX Linux - General 7 10-26-2004 02:21 AM > Forums > Linux Forums > Linux - Newbie

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

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