# How to make show commands gets executed in config mode?

**URL:** https://dmap-community.ductus.global/t/how-to-make-show-commands-gets-executed-in-config-mode/1962
**Category:** YANG
**Created:** [June 27, 2018, 3:54am UTC](https://dmap-community.ductus.global/t/how-to-make-show-commands-gets-executed-in-config-mode/1962 "2018-06-27T03:54:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Gopi](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@Gopi](https://dmap-community.ductus.global/u/Gopi)
#### Post date: [June 27, 2018, 3:54am UTC](https://dmap-community.ductus.global/t/how-to-make-show-commands-gets-executed-in-config-mode/1962/1 "2018-06-27T03:54:30Z")

</div>

how to make show commands gets executed in config mode also ?

---

<div class="post-metadata">

### Author: ![mnovak](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/mnovak/32/183_2.png) [@mnovak](https://dmap-community.ductus.global/u/mnovak)
#### Post date: [June 27, 2018, 6:57am UTC](https://dmap-community.ductus.global/t/how-to-make-show-commands-gets-executed-in-config-mode/1962/2 "2018-06-27T06:57:23Z")

</div>

```nohighlight
top
do show ...

```

`do` should invoke non config command in `config` mode

---

<div class="post-metadata">

### Author: ![Gopi](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@Gopi](https://dmap-community.ductus.global/u/Gopi)
#### Post date: [June 28, 2018, 7:08am UTC](https://dmap-community.ductus.global/t/how-to-make-show-commands-gets-executed-in-config-mode/1962/3 "2018-06-28T07:08:23Z")

</div>

thanks mnovak…  
any idea how to display file content using show command ?

---

<div class="post-metadata">

### Author: ![mnovak](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/mnovak/32/183_2.png) [@mnovak](https://dmap-community.ductus.global/u/mnovak)
#### Post date: [July 9, 2018, 9:17am UTC](https://dmap-community.ductus.global/t/how-to-make-show-commands-gets-executed-in-config-mode/1962/4 "2018-07-09T09:17:57Z")

</div>

Do you mean file on the filesystem?  
For this you can use custom CLI command (see clispec in user guide).
