Re: Wildcards
Thanks for everyone's help.
One more question that I couldn't find when I browsed the man pages.
What does the '$' mean/do in "grep "/$""?
and what does the '^' mean/do in "grep "^d""?
Thanks,
Timothy
On 08-Jun-98 David Lauder wrote:
> For directories, try:
>
> ls -lF | grep "/$"
> or:
> ls -l | grep "^d"
>
> You could create an alias for this in your .bash_profile as "lsd":
>
> alias lsd='ls -lF | grep "/$"'
>
>
> For executables, try:
>
> ls -lF | grep "*$"
>
> And alias it as "lsx":
>
> alias lse='ls -lF | grep "*$"'
>
> Do a "man ls" and "man grep" and experiment with some of the other
> options.
>
----------------------------------
E-Mail: timothy@smasher.rs.itd.umich.edu
Date: 08-Jun-98
Time: 12:45:35
This message was sent by XFMail.
Powered by GNU/Linux 2.0.
----------------------------------
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: