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

  2. How to automatically source your bashrc file when you become a root ...

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

  3. 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 and breaks the …

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

  5. Why can `BASH_SOURCE` be used to obtain the current directory of the ...

    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, when it is …

  6. How can I "source" expect script - Unix & Linux Stack Exchange

    Jan 24, 2019 · The fundamental problem is that a child process cannot alter the environment of its parent. This is why you need to source that shell script, so the environment variables will persist in …

  7. How to download a Debian package's source code?

    Mar 23, 2014 · A second possibility is to download the source code from upstream directly instead of downloading it from Debian repositories. This has the advantage that if you not only want to read the …

  8. How to list packages that have been installed from source in Linux ...

    Oct 9, 2023 · 1 I usually use package managers like apt to install packages and then use dpkg to list the packages, that I have installed. Is there any way to get a similar list if I install from source? I saw an …

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

  10. Copy file to same path as source without changing directories

    Aug 7, 2022 · For example if you started typing or copy/pasting the source path including filename, and only after that you realize you want the copy to be in that directory, ctrl-left-arrow to move the cursor …