I am noob in bash script and I am trying to do the following..
I have a directory structure like
root/
root/execute.sh
root/python/foo.py
I want to execute foo.py
I did something like following in execute.sh
#!/bin/sh
cd python
python foo.py
But it throws an error that foo.py
is not there.
How do i fix this?