copy and paste this google map to your website or blog!
Press copy button and paste into your blog or website.
(Please switch to 'HTML' mode when posting into your blog. Examples: WordPress Example, Blogger Example)
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 example It may unintentionally expand glob patterns into files if they match by any chance It's a bit dangerous because it passes the lines through bash expansion, but it has been useful to me when I
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 the same reason
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 the command line
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 fixing a nasty bug and just suffering until the next software release It's really not that bad, and as many here have pointed out, once you know what to look for and how to do it, fairly painless
rsync compare directories? - Unix Linux Stack Exchange Is it possible to compare two directories with rsync and only print the differences? There's a dry-run option, but when I increase verbosity to a certain level, every file compared is shown ls -a
What is the difference between eval and source dev stdin? Your example provides the same result, but the purpose of eval and source is different source is usually used for providing a library for other scripts, while eval is used only to evaluate commands eval should be avoided if possible, because there is no guarantee that the eval 'ed string is clean; sanity checks must be done, using subshell