![]() |
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 |
| A question/problem about oracle "tns listener" and "enterprise manager" | talipk | UNIX for Advanced & Expert Users | 1 | 12-03-2008 07:55 AM |
| A question/problem about oracle "tns listener" and "enterprise manager" | talipk | UNIX and Linux Applications | 0 | 12-01-2008 03:08 PM |
| Development Releases: Linux Mint 4.0 Beta "Fluxbox", 4.0 Alpha "Debian" | iBot | UNIX and Linux RSS News | 0 | 01-04-2008 03:00 PM |
| Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" | Lokesha | UNIX for Dummies Questions & Answers | 4 | 12-20-2007 01:52 AM |
| No utpmx entry: you must exec "login" from lowest level "shell" | peterpan | UNIX for Dummies Questions & Answers | 0 | 01-18-2006 04:15 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
how to use "if not" construction
Hi
I am working in ksh and need to turn the following "if" statement into "if not" : if psef op | grep -w fps1 >/dev/null echo fps1 is running. else exit 1 fi I am getting syntax errors no matter what I do, for example : n079$ if [[ ! psef op | grep -w fps1 | grep -v grep > /dev/null ]]; then ksh: syntax error: `op' unexpected any idea? Thakns a lot for help -A |
|
||||
|
Thanks!
|
| Sponsored Links | ||
|
|