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 (although your …

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

  5. 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 commands, so I ...

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

  7. 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 filename. This …

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

    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 variables in shell …

  9. 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...

  10. What is the difference between building from source and using an ...

    Aug 28, 2014 · I.e., unpack the source package from your distribution, replace the source with the upstream version, check if any of the distribution's patches or configuration tweaks still apply, build …

    • Site icon
      coursera.org
      https://www.coursera.org
      About our ads

      Top Source Code Courses - Learn Source Code Online

      SponsoredChoose from a Wide Range of Topics Such as Java, Python, C++ & More. Sign up Now! Find the Right Course for You and Get Started on Your New Career in Source Code.