Sunday 6 May 2018

mysql - Why do I need ./ for commands to run on Mountain Lion?


Possible Duplicate:
What does “/” , “./”, “../” represent while giving path?



Why do I need ./ for commands to run on Mountain Lion?


For example, when using mysql I have to type in the terminal:


./mysql -u itsme -p


Also, I'm creating command line applications and make my files executable and I do have to run the command with ./, like this...


./myawesomeapp dothis


I know ./ means current directory, but how can I run commands without having to use it?

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...