Emacs – EShell mode to dired mode M-x shell and M-x eshell are two major mode we use daily. however, in the shell mode, it is not easy to switch to dired mode. but in M-x eshell mode, command “dired .” will open dired mode for current path