Computer Science Fundamentals
Operating Systems
Objective
Mar 11, 2013
The .(dot) shell command
Detailed Explanation
Any shell script will not be executed hy the current shell. The current shell forks a new shell that executes the named shell script and terminates after it. So, any variable exported in the shell script will not be recognized by the parent shell. The (dot) command makes the named shell script to be executed by the current shell. On the negative side . (dot) commands like( profile) don't accept command line arguments.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts