# Can't see rules in karaf console

**URL:** <https://community.openhab.org/t/cant-see-rules-in-karaf-console/52437>\
**Category:** Scripts & Rules\
**Created:** [September 27, 2018, 2:54pm UTC](https://community.openhab.org/t/cant-see-rules-in-karaf-console/52437 "2018-09-27T14:54:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lorenzopt](https://community.openhab.org/letter_avatar_proxy/v4/letter/l/e480ec/32.png) [@lorenzopt](https://community.openhab.org/u/lorenzopt)\
**Post date:** [September 27, 2018, 2:54pm UTC](https://community.openhab.org/t/cant-see-rules-in-karaf-console/52437/1 "2018-09-27T14:54:48Z")

</div>

I’m running OH 2.3 on an RPi3 and would like to see what rules OH has stored. I found this post:

[https://community.openhab.org/t/openhab2-rules-problem-paperui-rules-present-in-karaf-scheduler-habmin-rules-do-not-import-or-execute/41678](https://community.openhab.org/t/openhab2-rules-problem-paperui-rules-present-in-karaf-scheduler-habmin-rules-do-not-import-or-execute/41678)

But when I tried the command in the console, I got an error saying “…automation listRules…” was not valid.

What gives?

---

<div class="post-metadata">

**Author:** ![H102](https://community.openhab.org/user_avatar/community.openhab.org/h102/32/25595_2.png) [@H102](https://community.openhab.org/u/H102)\
**Post date:** [September 27, 2018, 3:29pm UTC](https://community.openhab.org/t/cant-see-rules-in-karaf-console/52437/2 "2018-09-27T15:29:48Z")

</div>

Rules configured in /etc/openhab2/rules won’t be listed in Karaf.  
OH only stores rules **you** have created in the file mentioned. If not creating rules via files then take a look at experimental rule engine. If what’s shown, for creating a rule, fits your needs then try it out.

---

<div class="post-metadata">

**Author:** ![lazloman](https://community.openhab.org/user_avatar/community.openhab.org/lazloman/32/71889_2.png) [@lazloman](https://community.openhab.org/u/lazloman)\
**Post date:** [September 27, 2018, 10:00pm UTC](https://community.openhab.org/t/cant-see-rules-in-karaf-console/52437/3 "2018-09-27T22:00:21Z")

</div>

Ah, I get it. Thanks.
