Description
There's no easy way to access system properties in the shell.
Something like:
> echo ${karaf.name}
should print the system property if the session has no property named karaf.name defined.
As a workaround, the following script can be used:
system-property = { ((($.context bundle) loadClass java.lang.System) getMethod getProperty java.lang.String) invoke null $1 } echo "$(system-property karaf.name)"