|
- Source vs . why different behaviour? - Unix Linux Stack Exchange
source is a shell keyword that is supposed to be used like this: sourcefile where file contains valid shell commands These shell commands will be executed in the current shell as if typed from the command line
- What is the difference between . and source in shells?
source is there for readability and self-documentation, exists because it is quick to type The commands are identical The commands are identical Perl has long and short versions of many of its control variables for the same reason
- What is the difference between ~ . profile and ~ . bash_profile?
bash will try to source bash_profile first, but if that doesn't exist, it will source profile 1 Note that if bash is started as sh (e g bin sh is a link to bin bash) or is started with the --posix flag, it tries to emulate sh, and only reads profile Footnotes: Actually, the first one of bash_profile, bash_login, profile; See also:
- What does :source % mean? - Unix Linux Stack Exchange
The :source % command, when used on the ~ vimrc configuration, will reload the config You can achieve the same effect by quitting and restarting Vim, but this is faster Note that your Vim configuration needs to be cleanly written for that to work
- when running activate on tcsh - Unix Linux Stack Exchange
source venv bin activate csh The various activate scripts are written for specific shells, and the variant without a suffix is for bash or sh-like shells The activate csh script is for csh and tcsh There is also an activate fish script for the fish shell and Activate ps1 for PowerShell users
- shell - What is the difference between sourcing (. or source) and . . .
$ file # that exact same file as above, now it is sourced $ source file # an equivalent (but longer) command Of course, if the directory is not set in the path (not starting dot), some searching will be involved to find the specific file to be sourced In bash:
- networking - Ephemeral port : What is it and what does it do? - Unix . . .
Source Just as well-known and registered port numbers are used for server processes, ephemeral port numbers are for client processes only Source Without such ephemeral temporary ports assigned, there might be Internet Protocol (IP) network communication conflicts or downtimes For example, there are two web servers and both listen on port 80
|
|
|