home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!uunet.ca!canrem!dosgate![scott.williams@canrem.com]
- From: "scott williams" <scott.williams@canrem.com>
- Newsgroups: comp.unix.questions
- Subject: a question on ls
- Message-ID: <1992Sep3.1181.20273@dosgate>
- Date: 3 Sep 92 12:50:42 EST
- Reply-To: "scott williams" <scott.williams@canrem.com>
- Distribution: comp
- Organization: Canada Remote Systems
- Lines: 15
-
-
- In article <6786#tekig7.PEN.TEK.COM> naren@tekig5.pen.tek.com (Naren Bala)
- writes:
-
- | >What command would I type to display all files that do not have a .Z
- | >extension ?
-
- In sh, my preference would be to combine ls with grep, as in:
-
- ls | grep -v '\.Z$'
- ---
- ■ DeLuxe² 1.12 #8626 ■ Scott Williams, Editor, Open Systems Letter
- --
- Canada Remote Systems - Toronto, Ontario/Detroit, MI
- World's Largest PCBOARD System - 416-629-7000/629-7044
-