# Change directory

**URL:** <https://community.zeek.org/t/change-directory/5183>\
**Category:** Zeek\
**Created:** [February 12, 2018, 5:35pm UTC](https://community.zeek.org/t/change-directory/5183 "2018-02-12T17:35:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rober\_Fernandez](https://avatars.discourse-cdn.com/v4/letter/r/eada6e/32.png) [@Rober\_Fernandez](https://community.zeek.org/u/Rober_Fernandez)\
**Post date:** [February 12, 2018, 5:35pm UTC](https://community.zeek.org/t/change-directory/5183/1 "2018-02-12T17:35:08Z")

</div>

Hi,

If I execute bro in command line  
$ bro -i interface script.bro  
All logs are written in the currently directory. It’s possible change the directory if I execute in command line?

Thanks

---

<div class="post-metadata">

**Author:** ![seth](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/seth/32/642_2.png) [@seth](https://community.zeek.org/u/seth)\
**Post date:** [February 12, 2018, 10:05pm UTC](https://community.zeek.org/t/change-directory/5183/2 "2018-02-12T22:05:45Z")

</div>

Funny enough, that has never been a feature in Bro because it's not necessary with how people typically deploy Bro. I would recommend changing to the directory where you want your logs to land before starting Bro.

&nbsp;&nbsp;&nbsp;.Seth

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:45pm UTC](https://community.zeek.org/t/change-directory/5183/3 "2022-05-06T15:45:34Z")

</div>


