What does source (command) do?

If you’re a seasoned Linux user, you may have used source command once or twice before. You might also have used ., the exactly same command, instead. Both source and . are shell builtin commands. I have used this many times, but I only used for one purpose which is to read the environment variables from a file to the current shell environment. So, when I was asked during a job interview, “What does source do?...

August 30, 2021 · 2 min · 401 words · kenno