![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| awk command to find the count of files ina directory | sish78 | Shell Programming and Scripting | 11 | 07-19-2007 09:00 AM |
| can't find named.conf to configuration DNS | nghia77 | UNIX for Dummies Questions & Answers | 1 | 04-04-2006 01:22 PM |
| Help with find command on a shortcut directory(Alias)??? | swamy455 | UNIX for Dummies Questions & Answers | 2 | 07-07-2005 02:32 PM |
| how to find a file in UNIX without find command? | bluo | Shell Programming and Scripting | 3 | 09-25-2003 12:47 AM |
| using find command only in current directory | jliebling | UNIX for Dummies Questions & Answers | 5 | 02-22-2001 10:00 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
how to find a file named vijay in a directory using find command
I need to find whether there is a file named vijay is there or not in folder named "opt" .I tried "ls *|grep vijay" but it showed permission problem.
so i need to use find command |
|
||||
|
Might be.. but in anycase, the result shd come fast.
Try searching the file in the opt folder first and see how much time it is taking . Command: ls -l vijay If you are able to get the folder then come back to the parent folder and give the follwing command find opt/ -name vijay If it taking the same amount of time, then as you said it might be the overhead if not there is a problem of permission. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|