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.

4
  • 2
    What's the difference between . something and ./something?? This answer worked for me and I don't understand why. Commented Nov 2, 2012 at 20:34
  • . something allows you to run the script from any location, ./something requires you to be in the directory the file is stored in. Commented Jul 13, 2014 at 13:20
  • 1
    @Dracorat stackoverflow.com/questions/13786499/… Commented Apr 3, 2016 at 5:52
  • Can you put the dot in the shebang line? #!. /bin/bash? Commented Apr 19, 2020 at 18:32