ps command differs in ksh and bash
- From: "Salvatore" <salvatore.didio@xxxxxxxxxx>
- Date: 27 Sep 2006 05:08:10 -0700
Hello,
Can someone explain me why in bash the following command returns s
value while not in ksh.
In bash
[webadmin@pomme webadmin]$ ps -ef | grep jakarta-tomcat-5.0.28_rec |
grep -v grep
tomcat 17501 1 0 12:42 pts/2 00:00:34
/usr/local/java/bin/java -server -Xms128m -Xmx512m
-Djava.endorsed.dirs=/usr/local/jakarta-tomcat-5.0.28_rec/common/endorsed
-classpath
/usr/local/java/lib/tools.jar:/usr/local/jakarta-tomcat-5.0.28_rec/bin/bootstrap.jar:/usr/local/jakarta-tomcat-5.0.28_rec/bin/commons-lo
[webadmin@pomme webadmin]$ ksh
In ksh
$ ps -ef | grep jakarta-tomcat-5.0.28_rec | grep -v grep
$
It seems as if ksh could not handle long string !!!
Thank you for your help
Regards
.
- Follow-Ups:
- Re: ps command differs in ksh and bash
- From: Bill Marcum
- Re: ps command differs in ksh and bash
- Prev by Date: Re: simple alias doesn't work
- Next by Date: subtotalling identical records
- Previous by thread: simple alias doesn't work
- Next by thread: Re: ps command differs in ksh and bash
- Index(es):
Relevant Pages
|