Comment Comment by Rotten194 If you're interested, I wrote a blog post a few years ago about how to implement a syscall (getcwd) on Xv6: https://vgel.me/posts/pwd_command_xv6/ parent Rotten194 6 years ago