About 588,000 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 …

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

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

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

  5. 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, 8 months ago

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

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

  8. How to automatically source your bashrc file when you become a …

    Mar 7, 2024 · How to automatically source your bashrc file when you become a root user [duplicate] Ask Question Asked 1 year, 8 months ago Modified 1 year, 8 months ago

  9. source my ~/.bash_aliases from a script not in

    Oct 1, 2014 · You have to source the file otherwise the aliases have a very short lifespan: the duration of the invoked shell. I have this in my .bashrc: if [ -f ~/.bash_aliases ]; then . …

  10. 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?