Symbolic links for executables

I installed nmap but it is not in my path. Where is the proper place to make executable with out having to use the whole path? I understand how to get it working and was just wondering if there is a typical location that Mac users put symbolic links for all users to be able to execute.
Thank you.

Normally, /usr/local/bin/ so updates don't delete them. Then, add it to your $PATH variable in .bash_profile, using:
*export PATH=$PATH:/usr/local/bin*
If you're using another shell, then modify it accordingly. BTW, Unix queries should be posted to that forum in OS X Technologies.
For Kenichi Watanabe:
Unix executables shouldn't be put into /Applications.

Similar Messages

  • Can't make symbolic links for Documents, Music, Movies, Pictures folders?

    So, on my previous setup, which was also running 10.5 I was able to create symbolic links for my Documents,Music, Movies and Pictures folders so those files could be stored on an 2nd hard drive.
    However, today I'm setting up my new Mac Pro and I try to remove those folders and create the symbolic links and it tells me that permissions are denied.
    Can anyone tell me why this would be different on the Intel Mac than it was on my PowerMac G5? How can I get around it?

    those folders are protected by "deny delete" ACLs to prevent accidental deletion.
    you can remove the ACLs using
    chmod -N ~/Documents ~/Music ~/Movies ~/Pictures
    you'll then be able to delete them.
    Message was edited by: V.K.

  • Multiple symbolic links for same wdfdevice object

    Is it possible for my driver to call WdfDeviceCreateSymbolicLink twice successfully to create 2 symbolic links to the same device ? 
    I have one device driver, which controls one physical device, which performs two separate functions and i would like the applications to use different symbolic links to refer to the different functions. 
    Calling WdfDeviceCreateSymbolicLink twice fails so what other options do i have to solve this ?

    you can have WDF manage as many device interface guids as you want. If you want to understand which interface is being opened, you need to specify a unique ReferenceString for each.
    WDF does limit you to one WDF managed symbolic link. If you want more than one, you can create it by calling IoCreateSymbolicLink yourself. you will then have to delete on your own too. If you have control over which path, use multiple device interfaces
    further reading
    http://blogs.msdn.com/b/doronh/archive/2006/08/18/706717.aspx
    http://blogs.msdn.com/b/doronh/archive/2006/02/24/538790.aspx
    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

  • Workflow Notification: URL Link for executing a RDF

    <p>I need to send a notification with the <u>URL link</u><br>When the user clicks this link it should call a report and fetch the details in PDF file according to the parameters passed in the URL<br>I tried using <br>http://local_host_name/reports/rwservlet?report='RDF_FIle_Path'/URLREPORT.rdf&desformat=pdf&destype=cache&userid=apps/password@xxx</p><br>
    But it is giving the error like <br><u>The requested URL /reports/rwservlet was not found on this server.</u><br><br>Note: I have loaded the RDF into server

    Hi Amit,
    The link for cProjects can be found under the service in  SICF>default_host>SAP>BC>Webdynpro>SAP>cProjects.
    For portal URL, you need to search under the business package>role>iviews or pages.
    Regards,
    Santosh.

  • [SOLVED] Symbolic links for python (v2) modules

    I was blind, sry
    To solve the issue:
    https://code.google.com/p/git-repo/issues/detail?id=168
    rm ~/.repopickle_.gitconfig
    Didn't work before for me as I made a dumb fail...
    Hello,
    I tried to understand and follow the wiki (https://wiki.archlinux.org/index.php/an … nvironment) about building Android as good as I could.
    Everything works till the part with setting the virtualenv2 for using python 2 (python -V gives v2.7.9 back). I understood everything till there, and even after that. Sadly it still doesn't work
    The first problem accuring is that when issueing
    ln -s /usr/lib/python2.7/* /Data/Android_Build/venv/lib/python2.7/
    I get "file exists" for every existing file. Is that wanted as it only should "add" modules not being in 'android/venv/lib/python-2.7/' ? After that I tried issueing 'repo init -u' but sadly this just gives me a python error.
    $ repo init -u https://github.com/CyanogenMod/android.git -b cm-12.0
    Traceback (most recent call last):
    File "/home/leonard/android/system/.repo/repo/main.py", line 500, in <module>
    _Main(sys.argv[1:])
    File "/home/leonard/android/system/.repo/repo/main.py", line 476, in _Main
    result = repo._Run(argv) or 0
    File "/home/leonard/android/system/.repo/repo/main.py", line 155, in _Run
    result = cmd.Execute(copts, cargs)
    File "/home/leonard/android/system/.repo/repo/subcmds/init.py", line 390, in Execute
    self._SyncManifest(opt)
    File "/home/leonard/android/system/.repo/repo/subcmds/init.py", line 149, in _SyncManifest
    print('Get %s' % GitConfig.ForUser().UrlInsteadOf(opt.manifest_url),
    File "/home/leonard/android/system/.repo/repo/git_config.py", line 219, in UrlInsteadOf
    for new_url in self.GetSubSections('url'):
    File "/home/leonard/android/system/.repo/repo/git_config.py", line 206, in GetSubSections
    return self._sections.get(section, set())
    File "/home/leonard/android/system/.repo/repo/git_config.py", line 230, in _sections
    for name in self._cache.keys():
    File "/home/leonard/android/system/.repo/repo/git_config.py", line 247, in _cache
    self._cache_dict = self._Read()
    File "/home/leonard/android/system/.repo/repo/git_config.py", line 251, in _Read
    d = self._ReadPickle()
    File "/home/leonard/android/system/.repo/repo/git_config.py", line 269, in _ReadPickle
    return pickle.load(fd)
    File "/home/leonard/android/venv/lib/python2.7/pickle.py", line 1378, in load
    return Unpickler(file).load()
    File "/home/leonard/android/venv/lib/python2.7/pickle.py", line 858, in load
    dispatch[key](self)
    File "/home/leonard/android/venv/lib/python2.7/pickle.py", line 886, in load_proto
    raise ValueError, "unsupported pickle protocol: %d" % proto
    ValueError: unsupported pickle protocol: 4
    Last edited by LeonardK (2015-01-03 17:40:18)

    Yes! You are right. Now, this sounds so familiar. I vaguely remember doing this when I originally installed Arch on this laptop, but I must have done it as part of the "beginners guide" procedure. I guess this explains it:
    https://wiki.archlinux.org/index.php?ti … did=168068
    Now, I take it from this that I safely remove ALL the symlinks from my rc.local?
    rc.local:
    ln -s /dev/sr0 /dev/cdrom
    ln -s /dev/sr0 /dev/cdrw
    ln -s /dev/sr0 /dev/dvd
    ln -s /dev/sr0 /dev/dvdrw

  • Symbolic Links do not work for Application.cfm in CF10

    I have a Web, that use a symbolic link for centralized code.
    The Application.cfm, stored in the original web-root, will not read from code
    in the linked directory.
    Thank you for your assistance.

    Adam,
    it seems to be a bug.
    The "Application.cfc/Application.cfm lookup order" in the ColdFusion Administrator seems not functional as expected. I did several tests and it happens not only at symbolic links. This happens on every subdirectory.
    Am I wrong, when I expect, that the "highest" Application.cfm found in a tree should be executed?
    Example:
    Application.cfm
    aaa.cfm
    "subdir1"                                 "subdir2"
    bbb.cfm                                   Application.cfm
                                                    ccc.cfm
    Settings in the ColdFusion Administrator
    Default order:
    - aaa.cfm: should execute the Application.cfm in root (/) only.
    - bbb.cfm: should execute the Application.cfm in root (/) only.
    - ccc.cfm: should execute the Application.cfm in subdir2 only.
    Until Webroot
    - aaa.cfm: should execute the Application.cfm in root (/) only.
    - bbb.cfm: should execute the Application.cfm in root (/) only.
    - ccc.cfm: should execute first the Application.cfm root (/) and then in subdir2
    In Webroot
    - aaa.cfm: should execute the Application.cfm in root (/) only.
    - bbb.cfm: should execute the Application.cfm in root (/) only.
    - ccc.cfm: should execute the Application.cfm in root (/) only.
    Am I wrong with this?
    In my case, only "In Webroot" work as expected.
    Torsten

  • HELP! Creating symbolic link to home folder for installer DMG

    Guys,
    I'm in a bit of a bind. I need to create a symbolic link for an installer DMG to distribute a communal Bookmarks.plist to all the computers in my department. Unfortunately 'ln -s ~/Library/Safari /Volumes/Bookmarks/.' doesn't do the trick! While it creates an alias that functions on my machine, when that DMG is compiled and distributed from the original sparse image, the alias fails to link to that location on whoever attempts to mount the DMG. Any ideas?? Thanks!

    Symbolic links break when you change the machine on which they were created. Use an standard Mac alias instead as I believe they will work as expected.

  • Symbolic Link to Encrypted Folder disappear on reboot

    Good day
    I have a symbolic link from an encrypted folder "/Volume/important Files/" that point to Dropbox folder
    ln -s /Volumes/important\ Files ~/Dropbox/important
    I have additional 'ln' to other files that are NOT encrypted (e.g. a docs folder, some pictures, SecureCRT sessions etc).  These symbolic links are fine, however the symbolic link for the encrypted folder never survives a reboot.
    I was wondering if anyone knew the order of operation if I set the encrypted folder to auto mount (which it is not doing now) in relation to the symbolic link. 
    Thanks

    Have you tried putting the link in a different location?
    the disappearance might not be tied to the encrypted folder as much as the Volumes folder maybe getting "cleaned up" removing mount points for nonexistent shares.

  • Using Sym Links for .dbf, .log, and .ctl files?  Will this work in 10g?

    Hello,
    We have an old database server we use for testing/development and it's running very low on diskspace on one of the filesystems on the box. At this point in time, adding space is not a simple option for several reasons. However, there are several other data partitions on this server with plenty of space available.
    I read a paper published by Sun Microsystems that advocates the use of symbolic links for dbf, ctl, and log files:
    http://www.sun.com/blueprints/0103/817-1048.pdf
    Are there any drawbacks/caveats we need to be aware of, or is this really as simple as just stopping the db, moving a few files to another fs, symlinking their locations, and restarting the db?
    Thanks for your input/advice.

    I think you should verify this with Oracle Support.
    This is the perfect measure to have them drop the phone on you.
    Sybrand Bakker
    Senior Oracle DBA

  • RemoteApp File Paths do not support Symbolic Links

    Has anyone gotten RemoteApp to work with symbolic links?
    I have an application in C:\app\1.0 . I have a symbolic link C:\app\latest that points to the 1.0 folder. When I publish the application through the GUI, it stores the path as C:\app\1.0 rather than C:\app\latest. If I use a PowerShell Command, it will store
    the symbolic link version of the path, but the application will fail to open.

    Hi,
    Thank you for posting in Windows Server Forum.
    As per my research, I can say that it supports the symbolic link for RemoteApp. But please check that you have placed the correct path links for RemoteApp to use. As when RemoteApp used the symbolic link, we must have the path link correct which will open the
    application.
    Also please see that you have latest version of client RDP installed, RDP 8.1.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • QTSS Publisher Doesn't Like Symbolic Link

    I wanted to store my music files on another drive, so I created a symbolic link for the Libraries folder to another directory. The QTSS Publisher app now crashes consistently. Anyone else have success with this?

    Solved the problem on my own.

  • [SOLVED] Symbolic link error in boot sequence

    Either this got introduced with the latest kernel upgrade, or I just happened to catch it now during the boot cycle. At the very end, I get the following error, also present in the /var/log/boot file:
    Wed Mar 28 13:23:55 2012: ln: failed to create symbolic link `/dev/cdrom': File exists
    Does anyone know which service/process tries to create a symbolic link for /dev/cdrom...?
    To make matters more interesting - there is a /dev/cdrom lin, dated at the time of reboot, so something must have created it already. But it's slightly different than the links for /dev/dvd and /dev/cdrw:
    [root@abc dev]# ls -l
    total 0
    lrwxrwxrwx 1 root root 3 Mar 28 13:23 cdrom -> sr0
    lrwxrwxrwx 1 root root 8 Mar 28 13:23 cdrw -> /dev/sr0
    lrwxrwxrwx 1 root root 8 Mar 28 13:23 dvd -> /dev/sr0
    lrwxrwxrwx 1 root root 8 Mar 28 13:23 dvdrw -> /dev/sr0
    Any ideas?
    Last edited by twelveeighty (2012-03-30 17:09:13)

    Yes! You are right. Now, this sounds so familiar. I vaguely remember doing this when I originally installed Arch on this laptop, but I must have done it as part of the "beginners guide" procedure. I guess this explains it:
    https://wiki.archlinux.org/index.php?ti … did=168068
    Now, I take it from this that I safely remove ALL the symlinks from my rc.local?
    rc.local:
    ln -s /dev/sr0 /dev/cdrom
    ln -s /dev/sr0 /dev/cdrw
    ln -s /dev/sr0 /dev/dvd
    ln -s /dev/sr0 /dev/dvdrw

  • How can i create absolute symbolic links

    The question is simply the Thread Topic,
    I want to create an Absolute Symlink, I have found some Apple Scripts that i think create relative Symlinks.
    I am not that familiar with Terminal, so any recomendations to go that route nned to be fully explained please?
    Thanks
    John

    I have a couple of Partitioned disks on my system and i need to make symbolic links for a number of folders that are on those Partitions.
    I could not get to te partitions via terminal, i now understand i have to use the /Volumes/Folder name in my ln command.
    thx
    John

  • Including symbolic links in a JAR

    I'm trying to package a webapp that has a symbolic link for the images directory. The images will live on another server where they can be shared across all servers. I'm building the jar using:
    jar cvf myapp.war *
    When dropping the war into the resin webapps directory, it automatically unpacks it. It appears the symbolic link is turning into a regular directory when it is unpacked. I also tried just unpacking it using "jar xf myapp.war" and it looses the symbolic link also.
    Is there any way to retain the symbolic link information in a jar? Any other creative ways to accomplish what I am trying to do?
    Thanks,
    Saul

    Nevermind, I found a way to do it within Resin. It can map virtual directories through its config.
    Thanks

  • Symbolic Links iTunes Media

    I have just migrated to an iMac.  I have a small SSD drive and a HDD drive.  For iTunes, I have a symbolic link for the iTunes Media folder to the HDD drive. However, I am now wondering how this will work if I use Time Machine.  For example, will Time Machine try to back those files up twice?  Also, if I go to restore, will it also try to restore all the media files everytime.  I am just a little confused by it now.  The sym link seemed like a great idea to move stuff onto the HDD but still keep it organized through my OS X profile.  But, I'm not sure now.

    Click here and fill out the form.
    (119798)

Maybe you are looking for

  • HUGE .cp file!

    I have a Captivate 3 movie, nothing special. Less than 50 slides. No intense animations or huge graphics. The total of all the stuff in the library is maybe 90 meg. Yet my .cp file is 380 meg! (382,127 KB to be exact.) I deleted all the audio from th

  • After i enter my password for the wifi in internet recovery mode it just shows a blank screen no disk utility shows why??? NEED HELP

    After i enter my password for the wifi in internet recovery mode it just shows a blank screen no disk utility shows why??? NEED HELP

  • Radius Attribute in authentication packet

    I'm new to Radius, so bear with me. Is it possible, or does anyone knows how to make use of the vendor specific attribute sent in the authentication request. What I'm looking at is that based on the value of a specific VSA, the value of another radiu

  • Production B2C web shop sites

    Hi all,   I was looking to see if anyone could give me a URL of an existing B2C web shop that I can look at to see the software package in action. So far the demo sites that I have looked at have been extremely slow. Our e-commerce sites are currentl

  • Hide alv column of a standard tcode...

    Hello Experts, I was just given a task to hide a certain column in a standard tcode(LI14). So what I tried first was to just create a transaction variant but it did not work since the column that I need to hide is an alv list display. So I debugged t