![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do i check whether a file has extension? | sunday8 | Shell Programming and Scripting | 2 | 1 Week Ago 06:58 PM |
| How to get file extension | shirleyeow | Shell Programming and Scripting | 17 | 01-17-2008 04:40 AM |
| remove file extension | prvnrk | Shell Programming and Scripting | 12 | 08-05-2007 03:46 AM |
| filename extension check - regular expression | devs | Shell Programming and Scripting | 4 | 03-02-2007 11:01 AM |
| Script to check for a file, check for 2hrs. then quit | mmarsh | UNIX for Dummies Questions & Answers | 2 | 09-16-2005 11:46 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Check file extension
Hi ,
I am FTPing the file. Once the file is FTPied I need to check whether that file currently transferred is of .xls and I need to convert the same to a flat file. What command to use to find the extension of the file?. Thanks Mahalakshmi.A |
| Forum Sponsor | ||
|
|
|
|||
|
Cut Command
Cut :
Purpose : STrips/Cuts the required part from the passed input text Usage: cut -d "<value> -f <value> or -c <value> -d = Delimiter Seperator using wich u want divide ur text, Like "ABC,DEF" here , can be used as delimiter. -f = field num This is similar to column numbers. Inthe abv example ABC is field 1 and DEF is field# 2 if input is divided using comma. -c = Character cut -c 1,3 this will cut between 1st character to 3rd char. Hope u understood wat i tried say. Thanks, Sharif.S |