# Is this a bug, or expected behavior

**URL:** <https://discourse.julialang.org/t/is-this-a-bug-or-expected-behavior/56555>\
**Category:** General Usage\
**Tags:** filesystem\
**Created:** [March 5, 2021, 1:48pm UTC](https://discourse.julialang.org/t/is-this-a-bug-or-expected-behavior/56555 "2021-03-05T13:48:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonasjonker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jonasjonker/32/22535_2.png) [@jonasjonker](https://discourse.julialang.org/u/jonasjonker)\
**Post date:** [March 5, 2021, 1:48pm UTC](https://discourse.julialang.org/t/is-this-a-bug-or-expected-behavior/56555/1 "2021-03-05T13:48:27Z")

</div>

I’m not really sure if this is a usage question, or more of a design question.

I’m on a Linux system and I have a separate disk for my data called `Data` which is symlinked inside my home directory like this:

```bash
me@my_pc ~ $ ls -al Data
lrwxrwxrwx 1 jonas jonas 10 3 nov 16:03 Data -> /mnt/data/

```

There is a difference in the Terminal behavior (I use zsh) and julia repl behavior as shown below.

### from zsh

```bash
me@my_pc ~ $ cd Data 
me@my_pc Data $ cd ..
me@my_pc ~ $

```

### standard Julia

```julia
julia> pwd()
"/home/me"

julia> cd("Data")

julia> pwd()
"/mnt/data"

julia> cd("..")

julia> pwd()
"/mnt"

```

### the Julia shell

```julia
shell> cd Data
/mnt/data

shell> cd ..
/mnt

```

A you can see the Julia behavior and the Julia shell behavior is consistent. However it is still unexpected behavior (to me).

Is this a bug and something I should report? Or does it make sense? I which case, can somebody enlighten me? 🙂

---

<div class="post-metadata">

**Author:** ![jonasjonker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jonasjonker/32/22535_2.png) [@jonasjonker](https://discourse.julialang.org/u/jonasjonker)\
**Post date:** [March 5, 2021, 1:58pm UTC](https://discourse.julialang.org/t/is-this-a-bug-or-expected-behavior/56555/2 "2021-03-05T13:58:58Z")

</div>

I just realized I already got my answer [here](https://discourse.julialang.org/t/is-there-a-way-to-make-julia-aware-of-as-the-home-directory-on-linux/56550/7).

`..` has special meaning within my terminal (zsh), which keeps track of how I got somewhere. Julia, just looks if there is a sub directory `..` in the current directory. Which just points to the parent directory in Linux.

So it was clearly unexpected to me, but it makes sense…
