What is the Linux command to return all files that start with TEMP but do not end with double digits?
I think it should look something like this:
ls -l TEMP*[!0-9][!0-9]
but the results of my search are omitting some results it seems.
fileslswildcards
What is the Linux command to return all files that start with TEMP but do not end with double digits?
I think it should look something like this:
ls -l TEMP*[!0-9][!0-9]
but the results of my search are omitting some results it seems.
Best Answer
With GNU and most modern BSDs
find
:POSIXly:
ksh
orbash -O extglob
orzsh -o kshglob
: