UNIX Programming, Certification, System Administration, Performance Tuning Reference Books
Display all Files except some

Using ksh, an ls !(*.Z) would display all files except the *.Z files.

This can be handy if you have a directory with several sets of files with different extensions.

Return to : Unix System Administration Hints and Tips