Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I run a file saved at ~/bin directory #81

Open
enbermudas opened this issue Mar 10, 2020 · 1 comment
Open

How do I run a file saved at ~/bin directory #81

enbermudas opened this issue Mar 10, 2020 · 1 comment

Comments

@enbermudas
Copy link

The title is self-explanatory, how can I do so in any directory?

@valdaarhun
Copy link

If there is an executable in your ~/bin directory that you want to run in any other directory, you could:

  1. provide the entire path to the executable when running it. Eg: ~/bin/executable.exe
  2. add ~/bin to the PATH variable by doing PATH="~/bin;$PATH". You could then run it with just executable.exe in any directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants