On Sun, 2017-10-29 at 11:51 -0700, Cy Schubert wrote: > In message <CANCZdfrE1oHqoTFFagVz3xHbK-oiFrPy3+rtF2cOjpzu=evhQg@mail. > gmail.c > om> > , Warner Losh writes: > > > > --94eb2c114c9a7c3c21055cb3566c > > Content-Type: text/plain; charset="UTF-8" > > > > On Sun, Oct 29, 2017 at 8:26 AM, Ed Maste <ema...@freebsd.org> > > wrote: > > > > > > > > On 29 October 2017 at 00:53, Eitan Adler <ead...@freebsd.org> > > > wrote: > > > > > > > > Author: eadler > > > > Date: Sun Oct 29 04:53:33 2017 > > > > New Revision: 325092 > > > > URL: https://svnweb.freebsd.org/changeset/base/325092 > > > > > > > > Log: > > > > Modernize freebsd-tips a bit > > > ... > > > > > > > > % > > > > Want to run the same command again? > > > > -In tcsh you can type "!!". > > > > +Type "!!". > > > > % > > > $ !! > > > sh: !!: not found > > > > > > I doubt many people use /bin/sh as an interactive shell, but the > > > tip > > > ought not lead those who do astray > > > > > Yes. /bin/sh on FreeBSD doesn't grok it, though bash and some other > > shells > > available as ports do. I think that the old text was a bit better. > Or better yet, ctrl-r in bash and zsh, or up-arrow in tcsh. >
Up-arrow works in sh and bash too, ^R is for searching history. -- Ian _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"