What is `. command` means and how it works in Linux? [duplicate]
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
This question already has an answer here:
What's the meaning of a dot before a command in shell?
3 answers
Example
when start a Virtualenv of python. It will need to type . someenv/bin/activate
. However, even if it works fine, I still a little bit confuse about how it works.
Is there anyone who can give me a explanation in more general view about . command
in shell?
shell
marked as duplicate by steeldriver, muru, Stephen Kitt, JdeBP, Vlastimil Jun 14 at 11:40
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
0
down vote
favorite
This question already has an answer here:
What's the meaning of a dot before a command in shell?
3 answers
Example
when start a Virtualenv of python. It will need to type . someenv/bin/activate
. However, even if it works fine, I still a little bit confuse about how it works.
Is there anyone who can give me a explanation in more general view about . command
in shell?
shell
marked as duplicate by steeldriver, muru, Stephen Kitt, JdeBP, Vlastimil Jun 14 at 11:40
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This question already has an answer here:
What's the meaning of a dot before a command in shell?
3 answers
Example
when start a Virtualenv of python. It will need to type . someenv/bin/activate
. However, even if it works fine, I still a little bit confuse about how it works.
Is there anyone who can give me a explanation in more general view about . command
in shell?
shell
This question already has an answer here:
What's the meaning of a dot before a command in shell?
3 answers
Example
when start a Virtualenv of python. It will need to type . someenv/bin/activate
. However, even if it works fine, I still a little bit confuse about how it works.
Is there anyone who can give me a explanation in more general view about . command
in shell?
This question already has an answer here:
What's the meaning of a dot before a command in shell?
3 answers
shell
edited Jun 14 at 11:40
Vlastimil
6,2511146116
6,2511146116
asked Jun 14 at 11:35
pah8J
1607
1607
marked as duplicate by steeldriver, muru, Stephen Kitt, JdeBP, Vlastimil Jun 14 at 11:40
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by steeldriver, muru, Stephen Kitt, JdeBP, Vlastimil Jun 14 at 11:40
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
.
is a synonym to source
in bash. To sum up, it executes a script within the current shell, instead of executing it in a subshell. This means that anything changed in the environment by the script will persist in the shell after the script has ended.
Have a look at this question, which is basically the same as yours : What's the meaning of a dot before a command in shell?
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
.
is a synonym to source
in bash. To sum up, it executes a script within the current shell, instead of executing it in a subshell. This means that anything changed in the environment by the script will persist in the shell after the script has ended.
Have a look at this question, which is basically the same as yours : What's the meaning of a dot before a command in shell?
add a comment |Â
up vote
2
down vote
accepted
.
is a synonym to source
in bash. To sum up, it executes a script within the current shell, instead of executing it in a subshell. This means that anything changed in the environment by the script will persist in the shell after the script has ended.
Have a look at this question, which is basically the same as yours : What's the meaning of a dot before a command in shell?
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
.
is a synonym to source
in bash. To sum up, it executes a script within the current shell, instead of executing it in a subshell. This means that anything changed in the environment by the script will persist in the shell after the script has ended.
Have a look at this question, which is basically the same as yours : What's the meaning of a dot before a command in shell?
.
is a synonym to source
in bash. To sum up, it executes a script within the current shell, instead of executing it in a subshell. This means that anything changed in the environment by the script will persist in the shell after the script has ended.
Have a look at this question, which is basically the same as yours : What's the meaning of a dot before a command in shell?
answered Jun 14 at 11:40
Vince
1213
1213
add a comment |Â
add a comment |Â