-
Bug
-
Resolution: Done
-
Major
-
2.0.10.Final
-
None
According to the history --help:
--disable - will disable history expansion (but will not clear the previously recorded history); --clear - will clear the in-memory history (but not the file one).
however following sequence of commands will clear the content ~/.jboss-cli-history file
[pkremens@dhcp-10-40-5-180 ~]$ wc ~/.jboss-cli-history 4 6 44 /home/pkremens/.jboss-cli-history
[standalone@localhost:9990 /] history --disable [standalone@localhost:9990 /] history --clear [standalone@localhost:9990 /] exit
[pkremens@dhcp-10-40-5-180 ~]$ wc ~/.jboss-cli-history 0 0 0 /home/pkremens/.jboss-cli-history
- clones
-
JBEAP-3184 Exiting the CLI after disabling and clearing history will clear content of .jboss-cli-history
- Closed