-1

i am using ubuntu server 12.04 lts. I am looking for the executable of the linux command source i can not find in the /bin nor /usr/bin nor /usr/sbin nor /usr/local/bin . I used whereis source it gives me source: but i need the path for this command. does any one know where to find it?

2 Answers 2

5

You will not find the binary executable, because source is a built-in Bash command. Why would you need the binary anyway?

2
  • i am using puppet and i need to execute the source command. as i know i can't execute built-in Bash command in puppet.
    – ghassen
    May 5, 2014 at 10:28
  • 2
    @user2281794: What do you try to accomplish with the source anyway? If you execute a shell command in puppet, it will run in a child process and any variable you set will be lost upon exit.
    – Sven
    May 5, 2014 at 11:12
0

From https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html

Builtin commands are contained within the shell itself

Thus as Erathiel said before, you won't find it.

Not the answer you're looking for? Browse other questions tagged .