Skip to content
Alejandro Medrano edited this page Mar 17, 2018 · 1 revision

The Shell, Common and useful commands

The karaf shell is very similar to the bash shell. As such you can use:

  • the tab key to autocomplete (double pressing will show all the options)
  • up and down arrow keys to navigate in your history
  • ctr+r combination will allow you to search the browsing history
  • | or pipes will enable you to feed the output of one command to the input of another
  • ctr+d ends current input. If pressed on the root shell it will end it and karaf with it (unless karaf is running as a system service).
  • ctr+c ends current command.

karaf commands

help

Lists all available commands, and some synopsis about each.

grep

filters the input with the regular expression provided as argument

log

Shows the log.

Use the sub comand :tail to show the log in real time.

list

List all the bundles and their state.

karaf feature subcommands

list

install

repo-add

universAAL commands