Date: Thu, 19 Sep 2013 15:45:26 -0400 From: Glenn Sieb <ges+lists@wingfoot.org> To: "questions@freebsd.org" <questions@freebsd.org> Subject: Re: history Message-ID: <523B5456.3020208@wingfoot.org> In-Reply-To: <BLU178-W504716B73F40FB80181338C1210@phx.gbl> References: <BLU178-W504716B73F40FB80181338C1210@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9/19/13 3:36 PM, william benton wrote: > when I log into free bsd I am in the sh shell. i type history at the > command line and the machine says history not found. If I type h at > the command line it works like i expect the history command to work. > In the csh or tcsh shells history works as well as h. why does > entering history at the command line work in the csh and tcsh shells > but not in the sh shell. Considering that all three shells seem to > have the same .cshrc file? Bourne shell (sh) has no history component. Bourne Again shell (bash) does, as well as C-shell and Turbo C-shell (csh/tcsh). http://en.wikipedia.org/wiki/Bourne_shell#Criticism Best, --Glenn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?523B5456.3020208>