When you use tramp for a file in termux over ssh, you would get this error. File error: Couldn't find a proper `ls' command or tramp-error: Couldn't find a proper `ls' command To solve this, add termux's paths to tramp tramp-remote-path in your emacs init file. (setq tramp-remote-path (delete-dups (append '(tramp-own-remote-path) '(tramp-default-remote-path)