![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do i check whether a file has extension? | sunday8 | Shell Programming and Scripting | 2 | 08-29-2008 10:58 PM |
| How to get file extension | shirleyeow | Shell Programming and Scripting | 17 | 01-17-2008 08:40 AM |
| remove file extension | prvnrk | Shell Programming and Scripting | 12 | 08-05-2007 07:46 AM |
| filename extension check - regular expression | devs | Shell Programming and Scripting | 4 | 03-02-2007 03:01 PM |
| Script to check for a file, check for 2hrs. then quit | mmarsh | UNIX for Dummies Questions & Answers | 2 | 09-16-2005 03:46 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 |
|
||||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|