LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2013, 02:53 AM   #1
murdock9999
LQ Newbie
 
Registered: Oct 2013
Posts: 3

Rep: Reputation: Disabled
What does the colon(:) mean?


Hi,

I'm running DDS Java example with;

"java -classpath $OSPL_HOME/jar/dcpssaj.jar:classes HelloWorldDataPublisher"

command.

I know the classpath part well but what does the ":" (colon sign) mean in the middle of the command?

The folder I'm running this example has a folder named "classes" in it and there is a HelloWorldDataPublisher.class file in the classes folder.

I searched about it and read the java docs but can't find anything.

Thanks.

Last edited by murdock9999; 10-23-2013 at 03:56 AM.
 
Old 10-23-2013, 03:14 AM   #2
ilesterg
Member
 
Registered: Jul 2012
Distribution: CentOS, SLES, RHEL, HP-UX, OpenSUSE Tumbleweed KDE
Posts: 505

Rep: Reputation: 54
It acts as a delimiter, you can specify multiple paths by using a delimiter.
 
1 members found this post helpful.
Old 10-23-2013, 03:16 AM   #3
murdock9999
LQ Newbie
 
Registered: Oct 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
I see thank you very much
 
Old 10-23-2013, 03:23 AM   #4
ilesterg
Member
 
Registered: Jul 2012
Distribution: CentOS, SLES, RHEL, HP-UX, OpenSUSE Tumbleweed KDE
Posts: 505

Rep: Reputation: 54
No problem. and welcome to LQ!
 
Old 10-23-2013, 03:49 AM   #5
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,171

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
Not to be pedantic, : is a colon. ; is a semicolon.

They do have a significant difference as ; can be used to separate commands on a shell line.
 
Old 10-23-2013, 03:58 AM   #6
murdock9999
LQ Newbie
 
Registered: Oct 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
You're right sorry, I edited my first message
 
Old 10-23-2013, 05:47 AM   #7
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,104

Rep: Reputation: 181Reputation: 181
Cool

Quote:
Originally Posted by TenTenths View Post
Not to be pedantic, : is a colon. ; is a semicolon.

They do have a significant difference as ; can be used to separate commands on a shell line.
Wow..bright eyes TenTenths.. good catch.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
merge multiple line with semicolon seperated jeesun Programming 6 03-30-2010 05:55 AM
Function of semicolon in URL ? NaCo Programming 3 10-25-2009 07:03 PM
semicolon bash kalleanka Programming 3 11-02-2006 10:09 AM
printing numbers without using semicolon vijeesh_ep Programming 18 09-08-2004 12:59 PM
Request for best use of semicolon and fi in scripts aus9 Programming 5 05-13-2004 03:14 PM


All times are GMT -5. The time now is 09:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration