Running a Script- and debugging.

Patrick O'Callaghan pocallaghan at gmail.com
Tue Sep 22 21:47:34 UTC 2009


On Tue, 2009-09-22 at 15:46 -0400, Jim wrote:
> Could someone give me a Ideal as to this part of a script would
> hangup 
> script.
> In FC11.
> 
> The hangup stops at;
> 
> cd 'dirname $0'

$0 is usually the name of the script itself, so 'dirname $0' is the
directory the script lives in. Changing to that directory shouldn't
normally cause a hang, unless for example the directory is NFS-mounted,
but without more information this is pure speculation.

poc




More information about the fedora-list mailing list