How can i list uncompress files and compress those and also vice versa
suppose im listing the compressed files as ls -ltr *.Z.
how can i list the uncompressed files using not *.Z.
How can i list uncompress files and compress those and also vice versa
suppose im listing the compressed files as ls -ltr *.Z.
how can i list the uncompressed files using not *.Z.
How about
ls -ltr | grep -v [.]Z$