bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Time delay on command not found


From: Bob Proulx
Subject: Re: Time delay on command not found
Date: Mon, 10 Oct 2011 18:52:26 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

Bill Gradwohl wrote:
> when I typo a command, bash comes back with a command not found but
> hangs the terminal for way too long.

When you try to launch a command that does not exist anywhere on PATH
then bash must search every directory component of PATH in order to
look for the command.

> How do I get rid of the delay. I want it to release the terminal
> immediately.

Does your PATH contain directories on NFS or other networked
fileservers?  If so then those are typical sources of delay.

To easily see your directories in PATH:

  echo $PATH | tr : "\012"

Bob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]