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

  4. Can't use `source` from cron? - Unix & Linux Stack Exchange

    Oct 14, 2017 · When I try to use source from the cron job (I have tried both directly in crontab and in a script called by crontab) it doesn't seem to work. I made a simplified version of my project …

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

    Oct 1, 2014 · So the main difference is that you are sourcing a script that will update variables/aliases in the current shell vs (what the OP was doing) running a script which starts a …

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

  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 …

  8. Getting kernel source code (ubuntu) - Unix & Linux Stack Exchange

    Apr 10, 2017 · I want to try my hand at writing a linux driver. I am trying to set up my environment. My current kernel: $ uname -r 4.10.0-37-generic I then download the source code: $ apt-get …

  9. 100% open source linux distro - Unix & Linux Stack Exchange

    Feb 23, 2014 · 5 Do 100% open source linux distro's exist? i.e. distros which contain absolutely no closed source components anywhere at all? Apparently distros like Ubuntu contains bits …

  10. How to "source" a specific variable - Unix & Linux Stack Exchange

    Apr 16, 2020 · When you say source and have two files, I am thinking that you are wanting to have the two commands available at the command line and want provider to set the variable …