Find the answer to your Linux question:
Results 1 to 2 of 2
Hi everybody. I am trying to execute executable files in bash without adding ./ I know there must be an alias to add in .bashrc, that must be something like ...
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    11

    Setting PATH alias in bash

    Hi everybody. I am trying to execute executable files in bash without adding ./
    I know there must be an alias to add in .bashrc, that must be something like alias PATH=$PATH:.
    But this seems not to be working. Any ideas?

  2. #2
    Just Joined!
    Join Date
    Jul 2010
    Location
    Zagreb, Croatia
    Posts
    9
    Code:
    ]export PATH=$PATH:.
    without export, changes on variables are valid only in current script

Posting Permissions

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