JBOSS CLI alias

Solution In Progress - Updated -

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 6.2.1

Issue

Dose the JBoss CLI support alias or custom commands? I noticed when I hit the tab key the alias command is listed. I was also able to setup an alias but the alias is lost once the session CLI is terminated. Is there a way to save a custom alias?

Diagnostic Steps

Hi,

Thank you for contacting Jboss technical support Team.
How are you creating these commands using alias?

Do you login to cli shell and create the command using the alias command .
In the above scenario, the command will not persist across cli sessions.

Iam checking with my senior engineers, if this possible.

Thanks
Anu

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.