Home » Infrastructure » Unix » wild card question
wild card question [message #337978] |
Fri, 01 August 2008 23:29  |
toshidas2000
Messages: 120 Registered: November 2005
|
Senior Member |
|
|
I have following files in my list
part1
part2
part3
part10
part20
part1.txt
part20.txt
abc
I want to list the all the files which is not .txt and abc. I want only list of part1 part2 part3 part10 part20 I cannot use grep -v
I tried
ls -lhtr part[1-20]
it did not work
|
|
|
|
Goto Forum:
Current Time: Fri May 02 00:01:49 CDT 2025
|