Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    Unless I'm mistaken, it's the kernel that interprets the shebang line, rather than any shell. Commented May 4, 2015 at 16:43
  • 1
    You might want to add what a shebang does? Followed by "Why do people rather use #!/bin/env bash over #!/usr/local/bin/bash ? Commented May 4, 2015 at 16:58
  • My script is a simple bash script which copies certain files, untars a few tarballs and installs the extracted applications. After everything is done, the system is rebooted. Commented May 4, 2015 at 17:08
  • @dhag: To be honest, I didn't know that. Thanks for teaching me that! I've updated the answer accordingly. Commented May 4, 2015 at 22:13