Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 1996 14:46:37 -0700 (MST)
From:      Softweyr LLC <softweyr@xmission.com>
To:        questions@freebsd.org
Subject:   Mail bounced!
Message-ID:  <199612272146.OAA16911@xmission.xmission.com>

next in thread | raw e-mail | index | archive | help
I tried responding directly to this, but mail to geo.geoaccess.net
choked.

> After editing  hello.c and I compile it as as:
> 	gcc -o hello hello.c
> 	hello
> 
> It supposed to print:
> Hello World!
> 
> However, the system responded:
> 	"Command not found"

Try ./hello.  You do not have "." in your path, so the shell can't
find the hello program.  UNIX shells do not *assume* . like MS-DOG
does; this feature is a horrible security violation.

If you're still logging in as root for everyday work, don't. Create
an account for yourself and use *it* for everything that doesn't
require root access.

-- 
          "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                       Softweyr LLC
http://www.xmission.com/~softweyr                       softweyr@xmission.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612272146.OAA16911>