What is the difference between . . and source? [duplicate] 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 environment changes are kept source script This also sources the script The source command is not required by POSIX and therefore is less portable than the shorter
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
Copy file to same path as source without changing directories 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 backward-word before killing yanking the directory part, then ctrl-e for end of line before yanking another copy of it
Whitelist port from specific source IP and destination IP I am looking to whitelist port 22, but only for specific source and destination IP addresses I am aware of how to do this using iptables for a specific source IP: iptables -A INPUT -p tcp -s YourI
How to source a specific variable - Unix Linux Stack Exchange 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 for the consumer to use later
Is there an open source tool to measure cpu performance? I have used many times ab for measuring web performance, hdparm for measuring hard disk performance and netperf for measuring network performance But I didn't find any tools to measure cpu perfor
100% open source linux distro - Unix Linux Stack Exchange 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 and pieces which are closed source