LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 01: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 02:56 AM.
 
Old 10-23-2013, 02:14 AM   #2
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
It acts as a delimiter, you can specify multiple paths by using a delimiter.
 
1 members found this post helpful.
Old 10-23-2013, 02: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, 02:23 AM   #4
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

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

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
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, 02: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, 04:47 AM   #7
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
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



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 04:55 AM
Function of semicolon in URL ? NaCo Programming 3 10-25-2009 06:03 PM
semicolon bash kalleanka Programming 3 11-02-2006 09:09 AM
printing numbers without using semicolon vijeesh_ep Programming 18 09-08-2004 11:59 AM
Request for best use of semicolon and fi in scripts aus9 Programming 5 05-13-2004 02:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:50 AM.

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
Open Source Consulting | Domain Registration