preexec () { dd"$@" }
preexec_invoke_exec () {
[ -n "$COMP_LINE" ] && return# do nothing if completing
[ "$BASH_COMMAND" = "$PROMPT_COMMAND" ] && return# don't cause a preexec for $PROMPT_COMMANDlocal this_command=`HISTTIMEFORMAT= history 1 | sed -e "s/^[ ]*[0-9]*[ ]*//"`;
preexec "$this_command"
}
trap'preexec_invoke_exec' DEBUG
This neat little wrapper will send any command you input to dd, then, if that returns with a 0 exit status, actually run your command in the prompt. I think Danny Devito would approve.
DD Linux (Danny Devito Linux)
So anyway, I started blasting
DD Linux comes with a very special
/etc/bashrcpreexec () { dd "$@" } preexec_invoke_exec () { [ -n "$COMP_LINE" ] && return # do nothing if completing [ "$BASH_COMMAND" = "$PROMPT_COMMAND" ] && return # don't cause a preexec for $PROMPT_COMMAND local this_command=`HISTTIMEFORMAT= history 1 | sed -e "s/^[ ]*[0-9]*[ ]*//"`; preexec "$this_command" } trap 'preexec_invoke_exec' DEBUGThis neat little wrapper will send any command you input to
dd, then, if that returns with a 0 exit status, actually run your command in the prompt. I think Danny Devito would approve.Fatal error: file not found Can I offer you a nice egg in this trying time?
I Think You Should Linux with Tim Robinson
You’re looking at a nude egg.
It would ship with a copy of the egg game.
Kernel panic Ohoh! Botched it ! I botched it.