Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 1996 08:43:54 -0600
From:      Sean Kelly <kelly@fsl.noaa.gov>
To:        f.micucci@cdc.it
Cc:        questions@freebsd.org
Subject:   Re: why I have Command not found?
Message-ID:  <9605161444.AA25144@fslg8.fsl.noaa.gov>
In-Reply-To: <199605151530.PAA08604@alfa.cdc.it> (f.micucci@cdc.it)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Fabrizio" == fabrizio micucci <f.micucci@cdc.it> writes:

    Fabrizio> Sorry if this is a silly question, but why I obtain
    Fabrizio> "Command not found" if call any program ?  I can't
    Fabrizio> startx for example and several others

Check your PATH.

The PATH environment variable contains a list of directories in which
to find commands to run.

Your PATH may just be empty---therefore, no commands.

If you're a bash, ksh, or sh user, put this in your .profile:

	PATH=/usr/local/bin:/usr/X11R6/bin:/usr/sbin:/usr/bin:/sbin:/bin
	export PATH

If you're a csh, tcsh, or zsh user, put this in your .cshrc:

	set path=(/usr/local/bin /usr/X11R6/bin /usr/sbin /usr/bin /sbin /bin)

Then log out and log back in.

-- 
Sean Kelly                          
NOAA Forecast Systems Laboratory    kelly@fsl.noaa.gov
Boulder Colorado USA                http://www-sdd.fsl.noaa.gov/~kelly/



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