Unix/Linux 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 Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 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 Unix and Linux 02-01-2013
Scrutinizer's Unix or Linux Image
Scrutinizer Scrutinizer is offline Forum Staff  
Moderator
 
Join Date: Nov 2008
Last Activity: 5 May 2015, 2:48 AM EDT
Location: Amsterdam
Posts: 10,161
Thanks: 330
Thanked 2,676 Times in 2,393 Posts

Code:
ls [pf]??

The Following User Says Thank You to Scrutinizer For This Useful Post:
airbebe (02-01-2013)
Sponsored Links
    #3  
Old Unix and Linux 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... Unix or Linux Image

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

Thanks!
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Unix or Linux Image 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 04:13 AM.