Nothing happens when executing a python shebang script in /usr/local/bin/
Hopefully someone can help me. So i made a simple python program called test for testing out shebang scripts(I have used chmod to make it executable):
#!/usr/bin/python
print "hello"
after i copied it to /usr/local/bin/ i tried to call it by typing in
my shell:test
but nothing happened...
(There were no errors)
Adrian
test
is actually a shell builtin:Rename your script to something else or run it directly by executing
/usr/local/bin/test
.