0

i have a pyton script that execute with python script.py when you are in the same folder.

I want to know if it's possible to make a bash alias like alias script='command' to execute the script also when you are outside the same folder than the script?

thx

0

1 Answer 1

0

I find it by myself you just have to make an alias like this :

alias script="python /home/name/folder/script.py"

and that's all.

Not the answer you're looking for? Browse other questions tagged .