About 580,000 results
Open links in new tab
  1. 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 …

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

  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, 4 months ago Modified 4 years, 9 months ago

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

  5. Why does source give an error "cannot execute binary file"

    The source command will: Read and execute commands from the filename argument in the current shell context. If filename does not contain a slash, the PATH variable is used to find …

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

  7. Why doesn't my Bash script recognize aliases?

    In my ~/.bashrc file reside two definitions: commandA, which is an alias to a longer path commandB, which is an alias to a Bash script I want to process the same file with these two …

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

    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. What is the difference between "eval" and "source /dev/stdin"?

    Your example provides the same result, but the purpose of eval and source is different. source is usually used for providing a library for other scripts, while eval is used only to evaluate …

  10. rsync compare directories? - Unix & Linux Stack Exchange

    Is it possible to compare two directories with rsync and only print the differences? There's a dry-run option, but when I increase verbosity to a certain level, every file compared is shown. ls -a...