On Fri, Nov 28, 2014 at 12:36 AM, steveT <stevetuckn...@yahoo.co.uk> wrote: > Is there any way that I can trace them back to their 'creator'?
Besides checking common startup files like /etc/profile and ~/.profile or ~/.bashrc (see http://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html), you can also try to debug bash as it loads in login mode: # bash -lx &> out.txt # exit Read out.txt, try to find those declarations and pay close attention to lines before it that calls another file with . or source. If you don't find any kind of declaration, it's likely that those functions are declared somewhere during system init and that would depend on your init system. If it's me I'd just do fgrep something /etc -r (not -R unless I'm sure it's safe) and see if I can find something useful. It may still not be enough though - especially if those declarations are hard-coded in a binary executable or data file. You can also consider searching through the files of the base package of your init system - or even examine the sources if you can. Cheers, konsolebox