Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2001 09:18:43 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        Christopher Leigh <clcont@gmx.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: uhm. why isn't there a vigr for freebsd?
Message-ID:  <20010320091843.A87158@grumpy.dyndns.org>
In-Reply-To: <002c01c0b100$42aca160$1885a7d8@king1>; from clcont@gmx.net on Mon, Mar 19, 2001 at 11:40:22PM -0600
References:  <200103200128.f2K1SCe99911@grumpy.dyndns.org> <002c01c0b100$42aca160$1885a7d8@king1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 19, 2001 at 11:40:22PM -0600, Christopher Leigh wrote:
> uhm, i know what alias does, but... what does ls -lt !*  do? i read the
> bash man page. uhm, that was a few months ago. and i never really
> figured out what ! did. i was sorta kinda thinking that it was to insert
> the last command, but i'm probably wrong. still haven't booted into a
> *nix os. but. thank you anyway. :)

As shown it was in csh/tcsh syntax so the ! escaped the * which expands
to the command line arguments used when invoking the alias. As in

% lslth /usr/src

which expands to:

% ls -lt /usr/src | tail

Or plain "lslth" expands to 

% ls -lt | tail

And the -lt specifies long list format sorted by modification time.

--
David Kelly N4HHE, dkelly@hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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