On Tue, Mar 04, 2003 at 05:26:11PM +1100, Andre Bramantja wrote: > I'm kinda newbie here. Does anyone know the meaning of command "trap > 12345" in file /etc/profile?
trap is used to catch signals. Usually trap is used to just ignore them (like to prevent users from hitting ctrl-c at a critical time), but it can also be used to run a command when it gets a signal (like allowing a user to break out with ctrl-c but make sure the script cleans up after itself). Refer to the man page on bash, it should cover trap in some detail. -- Michael Heironimus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]