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

closed as off-topic by Jenny D says Reinstate Monica, Ward, mdpc, MichelZ, Tom O'Connor May 6 '14 at 15:13

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is dedicated to professional system and network administrators. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Please see the Help Center for more information." – Ward, mdpc, Tom O'Connor
If this question can be reworded to fit the rules in the help center, please edit the question.

4

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

  • 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 '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 5 '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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.