command to display all text files inside a directory
Mike
mike at atn-networks.nl
Mon Jun 26 12:47:04 UTC 2006
David Gomez schreef:
> On Mon, 2006-06-26 at 15:49 +0530, Kaushal Shriyan wrote:
>
>> Hi ALL
>>
>> which command is used to display all text files inside a particular directory
>>
>>
>
> That depends on what do you mean by 'text files'
>
> I would use something like this.
>
> find <start_directory> -type f -exec file {} \| grep
> <some_strings_matching_text_files> \; -print
>
>
>
Or maybe you just mean
ls -als *.txt
Mike
--
ATN Networks
Dirk de Derdelaan 215
3132 HE VLAARDINGEN
url: www.atn-networks.nl
mail: mike at atn-networks.nl
mobiel: 06 - 28 11 49 91
Voor al uw hostinggebonden oplossingen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060626/078b5437/attachment-0001.htm>
More information about the fedora-list
mailing list