About 599,000 results
Open links in new tab
  1. Source vs . why different behaviour? - Unix & Linux Stack Exchange

    source is a shell keyword that is supposed to be used like this: source file where file contains valid shell commands. These shell commands will be executed in the current shell as if typed from …

  2. 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 …

  3. shell - What is the difference between sourcing ('.' or 'source') and ...

    What is the difference between sourcing ('.' or 'source') and executing a file in bash? Ask Question Asked 13 years, 3 months ago Modified 4 years, 8 months ago

  4. How to export variables from a file? - Unix & Linux Stack Exchange

    A dangerous one-liner that doesn't require source: export $(xargs <file) It can't handle comments, frequently used in environment files It can't handle values with whitespace, like in the question …

  5. What is the difference between '.' and 'source' in shells?

    2 source is there for readability and self-documentation, . exists because it is quick to type. The commands are identical. Perl has long and short versions of many of its control variables for …

  6. How to source a .csh file as well as open xilinx application in the ...

    Being on Linux, your shell is Bash, so you need to source the settings64.sh file. You do that by typing in the command just as you yourself has typed it in the question:

  7. How to compile and install programs from source

    :) Building from source sometimes means the difference between fixing a nasty bug and just suffering until the next software release. It's really not that bad, and as many here have …

  8. How to recursively source shell scripts? - Unix & Linux Stack …

    2 It’s a scope problem. As designed, the _source_script function is, effectively, calling itself recursively, inasmuch as it is doing . ./${!arg}.sh and sourcing files that call _source_script. But …

  9. Tmux not sourcing my .tmux.conf - Unix & Linux Stack Exchange

    Here’s the explanation from the tmux manual page: The configuration file is a set of tmux commands which are executed in sequence when the server is first started. tmux loads …

  10. Why can `BASH_SOURCE` be used to obtain the current directory …

    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, …