How to list a directory "all except"

Αρχική Σελίδα
Συνημμένα:
Μήνυμα σαν ηλεκτρονικό μήνυμα
+ (text/plain)
Delete this message
Reply to this message
Συντάκτης: joe@actionline.com
Ημερομηνία:  
Προς: plug-discuss
Αντικείμενο: How to list a directory "all except"
What syntax would one use to list all the contents
of a directory *except* those of a specified criteria?

For example, I know that: ls -ltr *htm
lists all contents ending in 'htm'

But how could I list all contents excluding those ending in 'htm'?



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss