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 …

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

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

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

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

  7. sudo command doesn't source /root/.bashrc

    Sep 9, 2015 · sudo command doesn't source /root/.bashrc Ask Question Asked 10 years, 1 month ago Modified 2 years, 6 months ago

  8. Ansible: How to parse an inventory source - Unix & Linux Stack …

    Jul 26, 2018 · In the tutorial, he never says that I need to do something special in order to give an inventory source, he just says that we need to create an inventory file with the IP addresses of …

  9. fifth time source .zshrc need obvious more time than first time

    Jul 4, 2020 · Yesterday I was writing a shell script, and need to source .zshrc to update for current zsh shell. I found the source process need more time as I continue do source .zshrc.

  10. Why does the command 'source' have that name? - Unix & Linux …

    Jul 12, 2019 · In that context, I’ve always thought of source as specifying the source of the commands the shell should execute (reverting to the current source once it’s finished). Bill Joy …