running a command involving ";"

hello,
i want to run the command
-------
java -cp systray4j.jar;QuickDownloaderv4.4.jar
down.quickDownloader.applicationStartUp.SplashScreen
------
unfortunately the command itself involve semicolon which is a
delimiter for new commands in linux. so how can i run this command.

thanks

--
:)
Atishay Kumar
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Atishay Kumar [ Di, 14 Dezember 2004 10:04 ] [ ID #535457 ]

Re: running a command involving ";"

try one of these:
hal:~ # echo "hi;hi"
hi;hi
hal:~ # echo hi\;hi
hi;hi


On 2004.12.14 11:04, Atishay Kumar wrote:
> hello,
> i want to run the command
> -------
> java -cp systray4j.jar;QuickDownloaderv4.4.jar
> down.quickDownloader.applicationStartUp.SplashScreen
> ------
> unfortunately the command itself involve semicolon which is a
> delimiter for new commands in linux. so how can i run this command.
>
> thanks
>
> --
> :)
> Atishay Kumar
> -
> To unsubscribe from this list: send the line "unsubscribe linux-
> admin"
> in
> the body of a message to majordomo [at] vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
urgrue [ Di, 14 Dezember 2004 10:25 ] [ ID #535458 ]

Re: running a command involving ";"

--0__=4EBBE5F9DFA010918f9e8a93df938690918c4EBBE5F9DFA01091
Content-transfer-encoding: quoted-printable
Content-type: text/plain; charset=iso-8859-1



Hi Atishay

Put "\" before ";". This forces to the shell to get the character after=
the
backslash as a character without any relevance as shell command or
separator.

Best regards,
Pedro


=

Atishay Kumar =

<atishay.kumar [at] gmail. (Embedded image move=
d to file: pic22462.jpg) linux-admin [at] vger.kernel.org
com> (Embedded image move=
d to file: pic21934.jpg)
Asunto: ru=
nning a command involving ";"
Enviado por: =

linux-admin-owner [at] vge =

r.kernel.org =

=

=

=

=

14/12/2004 10:04 =

Por favor, responda a =

Atishay Kumar =

=

=



=

Telef=F3nica M=F3viles Espa=F1a, S.A. =

=





hello,
i want to run the command
-------
java -cp systray4j.jar;QuickDownloaderv4.4.jar
down.quickDownloader.applicationStartUp.SplashScreen
------
unfortunately the command itself involve semicolon which is a
delimiter for new commands in linux. so how can i run this command.

thanks

--
:)
Atishay Kumar
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" =
in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html


=

--0__=4EBBE5F9DFA010918f9e8a93df938690918c4EBBE5F9DFA01091
Content-type: image/jpeg;
name="pic22462.jpg"
Content-Disposition: attachment; filename="pic22462.jpg"
Content-Transfer-Encoding: base64


--0__=4EBBE5F9DFA010918f9e8a93df938690918c4EBBE5F9DFA01091
Content-type: image/jpeg;
name="pic21934.jpg"
Content-Disposition: attachment; filename="pic21934.jpg"
Content-Transfer-Encoding: base64


--0__=4EBBE5F9DFA010918f9e8a93df938690918c4EBBE5F9DFA01091--

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
garcia_pan [ Di, 14 Dezember 2004 10:27 ] [ ID #535459 ]

Re: running a command involving ";"

Why are you using a semicolon as a delimiter for specifying multiple classpaths?

On Tue, Dec 14, 2004 at 02:34:39PM +0530, Atishay Kumar wrote:
: hello,
: i want to run the command
: -------
: java -cp systray4j.jar;QuickDownloaderv4.4.jar
: down.quickDownloader.applicationStartUp.SplashScreen
: ------
: unfortunately the command itself involve semicolon which is a
: delimiter for new commands in linux. so how can i run this command.
:
: thanks
:
: --
: :)
: Atishay Kumar
: -
: To unsubscribe from this list: send the line "unsubscribe linux-admin" in
: the body of a message to majordomo [at] vger.kernel.org
: More majordomo info at http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Armen Kaleshian [ Di, 14 Dezember 2004 14:25 ] [ ID #535837 ]

Re: running a command involving ";"

On Tue, 14 Dec 2004 07:25:14 -0800, Rob <robrohan [at] gmail.com> wrote:
> On all unix like OSs (which is almost every major OS in the world save
> windows) the classpath delimiter is a colon. So you command should be:
>
> java -cp systray4j.jar:QuickDownloaderv4.4.jar
> down.quickDownloader.applicationStartUp.SplashScreen
i realized my mistake and corrected it. thanks for all answers.

atishay

P.S. Make one line Happy Admin http://202.138.119.197:8084/wiki/ is
waiting for your expert tips....
>
> Cheers,
> Rob
>
> On Tue, 14 Dec 2004 14:34:39 +0530, Atishay Kumar
> <atishay.kumar [at] gmail.com> wrote:
> > hello,
> > i want to run the command
> > -------
> > java -cp systray4j.jar;QuickDownloaderv4.4.jar
> > down.quickDownloader.applicationStartUp.SplashScreen
> > ------
> > unfortunately the command itself involve semicolon which is a
> > delimiter for new commands in linux. so how can i run this command.
> >
> > thanks
> >
> > --
> > :)
> > Atishay Kumar
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> > the body of a message to majordomo [at] vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> >
>
>
> --
> ~The cfml plug-in for eclipse~
> http://cfeclipse.tigris.org
> ~open source xslt IDE~
> http://treebeard.sourceforge.net
> ~open source XML database~
> http://ashpool.sourceforge.net
>


--
:)
Atishay Kumar
Btech, SEM VII
DA-IICT
Gandhinagar - 382009
India
ph: +91 9825383948
/**************************************
*All that is gold does not glitter *
**************************************/
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Atishay Kumar [ Di, 14 Dezember 2004 18:53 ] [ ID #536413 ]
Linux » gmane.linux.admin » running a command involving ";"

Vorheriges Thema: hi
Nächstes Thema: Nis user prompt problem