About 50 results
Open links in new tab
  1. What is the difference between "." "./" and "source"? [duplicate]

    Sep 27, 2016 · When the script is done, any changes that it made to the environment are discarded. . script The above sources the script. It is as if the commands had been typed in directly. Any …

  2. Why can `BASH_SOURCE` be used to obtain the current directory of the ...

    Jul 30, 2020 · I've read that BASH_SOURCE should be populated with the name of the executing script (and it works!). But why does BASH_SOURCE hold the name of the executing script, when it is …

  3. If "bash <file>" works, why is "source <file>" throwing an error?

    Jun 21, 2016 · However, when you source something, it is run in your current shell which, because it is interactive, has already loaded the aliases and therefore the fi alias is recognized and breaks the …

  4. bash script error: source: not found - Unix & Linux Stack Exchange

    You have an alias which is overriding the builtin source (fix with unalias source) You have a function which is overriding source (fix with unset -f source) You are somehow not using bash (although your …

  5. Copy file to same path as source without changing directories

    Aug 7, 2022 · For example if you started typing or copy/pasting the source path including filename, and only after that you realize you want the copy to be in that directory, ctrl-left-arrow to move the cursor …

  6. zsh - Error while trying to source a .zshrc file - Unix & Linux Stack ...

    Apr 29, 2022 · You're missing / Your command source ~.zshrc tries to lookup the home directory for a user called .zshrc. The source command would presumably attempt to execute that user's home …

  7. Tracking the source of PostgreSQL authentication failures in Linux ...

    Sep 14, 2023 · Tracking the source of PostgreSQL authentication failures in Linux Localhost Ask Question Asked 2 years, 5 months ago Modified 2 years, 5 months ago

  8. Where to download Linux Kernel source code of a specific version ...

    Is there a resource to download a specific kernel version source? For example, I want to get 2.6.36.2 sources to compare with this package and see what changes were introduced?

  9. 100% open source linux distro - Unix & Linux Stack Exchange

    Feb 23, 2014 · Do 100% open source linux distro's exist? i.e. distros which contain absolutely no closed source components anywhere at all? Apparently distros like Ubuntu contains bits and pieces which …

  10. How can I source a bash script containing BASH_SOURCE from zsh

    Nov 1, 2018 · I need to source it from a zsh shell as I need to have all the environment variables it defines. , where it is the Bash script. The fact that the script uses BASH_SOURCE is actually …