Roland,
try:
ls *.txt
or if you insist on using the grep command:
ls |grep .txt
or
ls -l|grep .txt
hth,
Helmut
> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 25. M�rz 2003 09:14
> An: Multiple recipients of list ORACLE-L
> Betreff: Unix command
>
>
> Any one whom could help me with grep command.
>
> I would like to "catch" all files in a directory which ends with .txt
>
> The files in the directory that fits that condition is:
>
> ia123456.txt
> ia654321.txt
>
>
>
> How should I write the unix command?
>
> Thanks in advance
>
> Roland
>
>
>
>
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author:
> INET: [EMAIL PROTECTED]
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru')
> and in the message BODY, include a line containing: UNSUB
> ORACLE-L (or the name of mailing list you want to be removed
> from). You may also send the HELP command for other
> information (like subscribing).
>
