![]() |
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 |
| 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 |
| Urgent Help: Perl Hash compare | jamie123 | Shell Programming and Scripting | 10 | 01-04-2008 03:09 AM |
| [urgent need help]compare data | bucci | Shell Programming and Scripting | 2 | 02-27-2007 11:27 PM |
| String compare | sbasetty | Shell Programming and Scripting | 14 | 02-07-2007 05:24 AM |
| if statement in for loop of a string | Sniper Pixie | UNIX for Dummies Questions & Answers | 7 | 03-02-2006 07:28 AM |
| string compare | gundu | Shell Programming and Scripting | 3 | 03-23-2005 04:42 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Very urgent :- How to compare string using if statement
Hi
How can i compare a string using if statement in a script? For eg: I have filename="abc.sh" if [ ${filename} == abc.sh];then { ....... ....... } fi but this doesnot work .. How will i execute this ?? Thanks in advance |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|