I have the following command to list all files from cat1 to cat5
#ls cat[1-5]
What changes do I need to make in the above command to list all files except cat3
The output should be cat1 cat2 cat4 cat5
I am also trying to list files from cat1 to cat10 using ls cat[1-10], but only showing cat1 in the output
source
share