![]() |
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 Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Find command - First file only | neeto | Shell Programming and Scripting | 3 | 03-17-2009 04:07 AM |
| how to find a file named vijay in a directory using find command | amirthraj_12 | UNIX for Dummies Questions & Answers | 6 | 10-25-2008 01:37 PM |
| How to use the command Tar to find a file | steiner | UNIX for Advanced & Expert Users | 2 | 08-18-2005 10:13 AM |
| how to find a file in UNIX without find command? | bluo | Shell Programming and Scripting | 3 | 09-25-2003 12:47 AM |
| Is a simple one command to find a file? | E-Quality | UNIX for Dummies Questions & Answers | 11 | 09-18-2001 01:19 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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! |
|
||||
|
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:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|