On Thu, Jul 19, 2001 at 09:01:21AM -0700, Tim Howe wrote:
>
>!! does repeat the last command, but only for the Cshell or shells that
>mimic it.  !! gets me nowhere on Solaris and I don't know about Linux.  It
>certainly was added to the list of things I couldn't make happen on Solaris.
>

those history functions are entirely part of the shell; the modular design
of *NIX means that they are kernel-independant.  If you can't repeat last
command with !! in your Solaris shell, then either you are running a shell
that does not support history or your HISTCHAR variable is set to something
other than ! .  It should work fine under Linux, since the default shell 
is bash.  What does your Solaris account say to the command

$ echo $SHELL

I've just been reading the history section of "UNIX Power Tools", and there
is a lot of l33t stuff that can be done with history...

-- 
A full height 19" rack with a glass door looks very out of place
    when it's all alone. Sort of like a perverted shrine to the
    God of Blinkenlights.
                                - Pim van Riezen, in the Monastery

Reply via email to