Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!linus!philabs!cmcl2!seismo!harvard!talcott!panda!genrad!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.unix Subject: Re: nonsense words for files Message-ID: <2183@sun.uucp> Date: Wed, 15-May-85 02:32:53 EDT Article-I.D.: sun.2183 Posted: Wed May 15 02:32:53 1985 Date-Received: Fri, 17-May-85 02:45:47 EDT References: <1936@sdcrdcf.UUCP> <1940@sdcrdcf.UUCP> <1017@ihuxb.UUCP> Organization: Sun Microsystems, Inc. Lines: 11 > This reminds me of my usual mistake -- under UNIX, create a program > test.c, compile it using make into test, and try to execute it. > You get no output very quickly, since test is part of the shell. > Hard to debug, too, since you can't find another executable file > in your PATH. In the System V Release 2 shell, you can do "type test" which will tell you what type of command "test" is (and, if it's an executable program or script, what the full pathname is). Useful for this kind of thing. Guy Harris