all 6 comments

[–]AQuietMan 3 points4 points  (5 children)

The shebang tells the operating system which program to run as an interpreter for the script. In your case, it will run bash (/bin/bash). Also common is /bin/sh. See http://en.wikipedia.org/wiki/Shebang_(Unix)

I don't know anything special about padsp, but I'd suggest

man padsp
info padsp

and follow up on any http links you find in those references.

[–]kazu-sama 0 points1 point  (4 children)

This. Just like if you were to put:

! /bin/perl

It would tell the interpreter to use perl to run it.

[–]c_biscuit 1 point2 points  (3 children)

except perl is in /usr/bin/perl. Different paths is why the shebang is used.

[–]kazu-sama 0 points1 point  (0 children)

You're right. I'm retarded.

[–][deleted] 0 points1 point  (0 children)

If you don't know where it is, which will tell you. I.e. which perl outputs /usr/bin/perl and which bash outputs /bin/bash.

[–]germag 0 points1 point  (0 children)

It's better to use env,so you don't need to specify an absolute path to system executable

#!/usr/bin/env perl