Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm specifically asking about FreeBSD. I am using the default /bin/csh as my shell. There is a binary version of echo at /bin/echo, and there is an echo command built into the shell. The system command lacks the ability to use System V style backslashed escape characters such as:

\n
\t

I want to be able to prefer the shell's builtin rather than the system command without making a temporary change to path or deleting /bin/echo.

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

Generally, your shell will prefer its own builtin over any external program. One notable gotcha in regards to this is when you've defined an alias for the command.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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