I am under the impression that if I include the line

```
#!/bin/bash

```

at the start of my file, it will be recognized as a bash script that I can run just by 

```
file.sh

```

instead of 

```
sh file.sh

```

But in my case, `file.sh` gives something like `test.sh` gives `test.sh: command not found`. Why is that?

**UPDATE**

I notice I need to use `./`. But I thought it will look in the current directory anyway?

```
./test.sh

```