Package: bash Version: 4.2+dfsg-0.1+deb7u3 This command
$ b ash -c ' command_not_found_handle ( ) { echo this; } ; xxx' allows you to run arbitrary code ('echo this') . H ere 'xxx' must be the " name " of some non-existent command. The following variant $ b ash -c ' command_not_found_handle ( ) { xxx ; } ; xxx' makes Bash enter in a loop , memory usage runaway from control and the whole system hangs . Regards, Fernando Auil