-bash: online: command not found

The error occurs, if the bash does not find the alias online. Most likely this is due to the fact that the current process was not started as a login shell. A workaround is:

 
unix> . /etc/profile

This command executes the login ini files 'by hand'. To solve the problem permanently the konsole command has to be changed to something like 'xterm -ls'.