I am looking for a command that, when called in terminal, will cd to the directory that is open in the most current nautilus widows.
On Mac, I use cdf provided with zprezto/oh-my-zsh that wraps OSX commands. It makes moving between Finder and terminal so easy and natural.