Quantcast
Channel: How does bash continue to work correctly when you move its working directory? - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by user732 for How does bash continue to work correctly when you move...

Unix kernels keep track of what directory every process has for a working directory. You can prove this by cd'ing into a mounted volume, and then, as root, doing a umount on the mount point. You'll get...

View Article


Answer by Caleb for How does bash continue to work correctly when you move...

Moving a file or directory changes the meta-data property that identifies its parent in the file tree, but it doesn't change its actual node id. On the physical disk it's still in the same place, and...

View Article

How does bash continue to work correctly when you move its working directory?

On Linux, I moved a directory to another directory using mv, and in another shell, my working directory happened to be the directory that was moved.I ran hg pull in that shell, and to my surprise, it...

View Article
Browsing latest articles
Browse All 3 View Live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>