Monday, September 10, 2012

Adding a Shell Alias to Karaf

Did you know you can add a shell alias to Karaf just like you can in your favorite bash shell? Its pretty simple.  Just follow the steps below to add ll (list): 

  • Navigate to your installation of Karaf
  • Open etc/shell.init.script
  • After the license header add the following:ll = { osgi:list $args } ;
Now restart and ll will be available to you at the shell.

There are already a number of available ones installed so take a look and see what works for you.

No comments:

Post a Comment