Use builtins when possible

a call to cat can be replaced by a redirection.