Article 5KQ7J dot in bash scripts

dot in bash scripts

by
igadoter
from LinuxQuestions.org on (#5KQ7J)
Hi, I today tested some simple scripts and noticed something I don't understand. Say
Code:. fileworks fine in $HOME directory. I mean if script is called in $HOME as working directory. However I have to put prefix
Code:. ./fileto make script works outside $HOME. If I don't do that I get error 'file not found'. That's a mess.latest?d=yIl2AUoC8zA latest?i=jx1dQ5AQ8Sc:xf8Vjbz6ngo:F7zBnMy latest?i=jx1dQ5AQ8Sc:xf8Vjbz6ngo:V_sGLiP latest?d=qj6IDK7rITs latest?i=jx1dQ5AQ8Sc:xf8Vjbz6ngo:gIN9vFwjx1dQ5AQ8Sc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments