![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Find command - First file only | neeto | Shell Programming and Scripting | 1 | 04-23-2008 02:47 PM |
| how to find a file named vijay in a directory using find command | amirthraj_12 | UNIX for Dummies Questions & Answers | 5 | 10-25-2006 02:39 PM |
| How to use the command Tar to find a file | steiner | UNIX for Advanced & Expert Users | 2 | 08-18-2005 06:13 AM |
| how to find a file in UNIX without find command? | bluo | Shell Programming and Scripting | 3 | 09-24-2003 08:47 PM |
| Is a simple one command to find a file? | E-Quality | UNIX for Dummies Questions & Answers | 11 | 09-18-2001 09:19 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
get file name from find command
how can i get the find command to display the filename without the path.
example: find /tmp/test /tmp/test1 /tmp/test2 /tmp/test3 should return test1 test2 test3 i'm using bash. also, whats the best way to ignore the . and .. directories? thanks! |
| Forum Sponsor | ||
|
|
|
|||
|
Hi Thanks it is working .... I have doubt
I want to list the files in a particular directory having *.dat without displaying the pathnames. Ex: /home/usr/local/data in this directory I have 5 dat files I want to list the files of this directory with out displaying the path from home directory .. Plz help me |
|
|||
|
@madankumar
Please check your original thread: List the files without directory path No need to hijack this one Quote:
|
|||
| Google The UNIX and Linux Forums |