Find the answer to your Linux question:
Results 1 to 2 of 2
If I were to create a symbolic link to an executable that has been downloaded and setup in the folder /usr/bin, should I be able to type the name of ...
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Location
    Aberdeen, Scotland
    Posts
    64

    Executable Programs

    If I were to create a symbolic link to an executable that has been downloaded and setup in the folder /usr/bin, should I be able to type the name of the executable / symlink in the terminal and have the application run?

    For example,

    Code:
    #ln -s /usr/src/scite-1.71/SciTE
    #SciTE
    I've tried this but all I get is command not found.

    B.

  2. #2
    Linux User
    Join Date
    Jan 2006
    Posts
    414
    When creating a link you need to specify both the file you want to link to, and the location of the link.
    So instead of;
    Code:
    #ln -s /usr/src/scite-1.71/SciTE
    Try;
    Code:
    #ln -s /usr/src/scite-1.71/SciTE /usr/bin/SciTE
    You should then be able to run the executable with;
    Code:
    #SciTE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...