Article 5H6GP LXer: How to Discover, From Inside a Bash Script, the Path the Script Is In

LXer: How to Discover, From Inside a Bash Script, the Path the Script Is In

by
LXer
from LinuxQuestions.org on (#5H6GP)
Published at LXer:

When you develop complex Bash scripts and start putting various scripts into a folder, where one script interacts with another by, for example, starting it, it quickly becomes necessary to ensure we know the path the script was started from, so we can start the other scripts with a fully qualified pathname.

Read More...latest?d=yIl2AUoC8zA latest?i=rHtYMjAdDAw:e2G1IGo_cOI:F7zBnMy latest?i=rHtYMjAdDAw:e2G1IGo_cOI:V_sGLiP latest?d=qj6IDK7rITs latest?i=rHtYMjAdDAw:e2G1IGo_cOI:gIN9vFwrHtYMjAdDAw
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