![]() |
|
|
|
|
|||||||
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| extracting date from a filename | laiko | UNIX for Dummies Questions & Answers | 5 | 05-09-2008 02:15 AM |
| mv Filename variable to another filename | gzs553 | Shell Programming and Scripting | 3 | 04-14-2008 01:19 PM |
| shortcut for tar cvf - [filename] | gzip > [filename].tar.gz | bcamp1973 | UNIX for Dummies Questions & Answers | 4 | 12-11-2007 01:45 PM |
| Listing filesnames in bare format with fullpath | tipsy | Shell Programming and Scripting | 2 | 01-26-2007 01:17 PM |
| extracting only the filename without its extenstion | lotus123 | UNIX for Dummies Questions & Answers | 3 | 08-25-2005 07:44 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Extracting Filename from Fullpath
Hi,
Any help on this would be very appreciated. I capture the full path & filename in a variable like (varFile=/home/user/extfile.txt). Now in my shell script I have to use only the filename part i.e. extfile.txt. How do I extract only the filename part from the variable? Thanks in Advance. |
| Forum Sponsor | ||
|
|