What is the difference between . . and source? 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
Where should I put my source code? - Unix Linux Stack Exchange 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 system though so in my opinion usr local src is fair game What is the " usr local src" folder meant for? has more on the topic; read this answer in particular
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
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
command to determine ports of a device (like dev ttyUSB0) I have a question regarding the ports in Linux If I connect my device via USB and want to check its port I can't do it using the command lsusb, which only specifies bus number and device number on
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
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