English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

In other words, how do I remove the need to put "./" infront of my file execution commands for unix?

2007-11-17 13:51:00 · 2 answers · asked by Rwar 2 in Computers & Internet Programming & Design

what is the exact command to do this?

2007-11-17 13:57:22 · update #1

2 answers

include . in your path

2007-11-17 13:56:47 · answer #1 · answered by javi 3 · 0 0

I think what you want is chmod

You need to "change mode" the file to an executable. Generally I tend to rename a.out to something else first but you could do it as a
chmod +x a.out

You could include it in your compile command. Either at the end of the script, or by adding it at the end of your command line.

2007-11-18 17:46:18 · answer #2 · answered by Gandalf Parker 7 · 0 0

fedest.com, questions and answers