Thread: ls question
View Single Post
Old Feb 8th, 2007, 11:50 AM   #1
cwl157
Professional Programmer
 
Join Date: Feb 2005
Posts: 327
Rep Power: 4 cwl157 is on a distinguished road
ls question

Does anyone know how to write the command for listing all files in a folder except the file tt using ls and meta characters? I have tried ls [^tt]* but this lists all files in the sub directories also and I don't want that i just want all the files in the current directory.
Thanks
cwl157 is offline   Reply With Quote