About 50 results
Open links in new tab
  1. What is the difference between "." "./" and "source"?

    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. Where should I put my source code? - Unix & Linux Stack Exchange

    Aug 23, 2018 · Source code may be placed in this subdirectory, only for reference purposes. with a footnote adding that Generally, source should not be built within this hierarchy. It’s your …

  5. How to compile and install programs from source

    That being said... +1 bump for asking a common question that should be answered for all newcomers to *nix systems. :) Building from source sometimes means the difference between …

  6. Firewall-cmd rule for filtering incoming source addresses

    Nov 5, 2020 · I'm trying to setup a firewall-cmd rule for incoming source IPv4 addresses using CentOS 7. At present, I've managed to add-port for zone=public, but cannot find a way to do …

  7. After installing oh-my-zsh: ... /.zshrc:source:34: no such file or ...

    I just tried to install oh-my-zsh. I get the following error when I try to run rvm: zsh: command not found: rvm I also get the following error when I try to open a ...

  8. How to correctly add a path to PATH? - Unix & Linux Stack Exchange

    Feb 21, 2016 · I'm wondering where a new path has to be added to the PATH environment variable. I know this can be accomplished by editing .bashrc (for example), but it's not clear …

  9. What are the advantages of building tools/libs from source?

    However, there are source-based package management systems that keep track of the dependencies and let you compile from source. The advantage listed above that you don't get …

  10. How can I source a base 64 encoded file in bash?

    Jan 17, 2019 · You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. What's reputation …