What does "#$" mean in bash?
bash, linux, syntax
Solution
Are you by any means running on a batch cluster? Like Sun Grid Engine? There might be special meanings in scripts intended to run as a batch job.
https://www.wiki.ed.ac.uk/display/EaStCHEMresearchwik/How+to+write+a+SGE+job+submission+script
Update:
above link blocks when used from stackoverflow.com (works from google.com)
alternatives:
- http://www.cbi.utsa.edu/sge_tutorial
- http://web.njit.edu/all_topics/HPC/basement/sge/SGE.html
Problem
Say for example a script begins like this ``` #!/bin/bash #$ -S /bin/bash #$ -l hostname=qn* ``` and then later down the page the actual script comes into play. My question is what does the "#$" symbol mean or do?