[Solved] Listing files starting with p or f and with the exact length of 3 characters | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

[Solved] Listing files starting with p or f and with the exact length of 3 characters

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-01-2013
airbebe airbebe is offline
Registered User
 
Join Date: Feb 2013
Last Activity: 1 February 2013, 9:17 AM EST
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
[Solved] Listing files starting with p or f and with the exact length of 3 characters

Hello,

I need some help.

How can I list files starting with p or f and with the exact length of 3 characters?

Last edited by radoulov; 02-01-2013 at 09:07 AM.. Reason: Marked as solved.
Sponsored Links
    #2  
Old 02-01-2013
Scrutinizer's Avatar
Scrutinizer Scrutinizer is offline Forum Staff  
Moderator
 
Join Date: Nov 2008
Last Activity: 17 September 2014, 6:34 PM EDT
Location: Amsterdam
Posts: 9,448
Thanks: 278
Thanked 2,380 Times in 2,134 Posts

Code:
ls [pf]??

The Following User Says Thank You to Scrutinizer For This Useful Post:
airbebe (02-01-2013)
Sponsored Links
    #3  
Old 02-01-2013
airbebe airbebe is offline
Registered User
 
Join Date: Feb 2013
Last Activity: 1 February 2013, 9:17 AM EST
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Yep. Just like that...

I was trying with find, grep ... and a lot of other combinations.

Thanks!
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need to find lines where the length is less than 50 characters Gangadhar Reddy Shell Programming and Scripting 4 08-13-2012 07:51 AM
Listing full file names with the exact length of 3 characters Joesgrrrl UNIX for Dummies Questions & Answers 7 12-10-2008 06:00 AM
Listing all the files names not starting as valluvan UNIX for Dummies Questions & Answers 13 11-28-2008 10:33 AM
Recursive directory listing without listing files psingh UNIX for Dummies Questions & Answers 4 05-10-2002 10:52 AM
finding exact characters jrdnoland1 UNIX for Dummies Questions & Answers 3 03-25-2002 09:52 PM



All times are GMT -4. The time now is 09:36 PM.