-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?

ghassen
  • 123
  • 1
  • 6

2 Answers2

5

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

Erathiel
  • 711
  • 3
  • 10
  • 21
  • 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 05 '14 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 05 '14 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.

periket2000
  • 248
  • 2
  • 9