The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 11-23-2008
valluvan valluvan is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 27
Listing all the files names not starting as

hello all,
iam new to shell scripting.I have searched the forum and could'nd find a close enough answer and hence this post:

I want to list all the file names whose names don't start as abc.

For example if my folder constains files with names: abc123.txt,erdf23.rdf,ed45r.fmb

i want a command which will list only files erdf23.rdf,ed45r.fmb and omit the file abc123.txt.

the ls command does'nt seem to have a -not option