Function: tramp-get-remote-hexdump

tramp-get-remote-hexdump is a byte-compiled function defined in tramp-sh.el.gz.

Signature

(tramp-get-remote-hexdump VEC)

Documentation

Determine remote hexdump command.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-get-remote-hexdump (vec)
  "Determine remote `hexdump' command."
  (with-tramp-connection-property vec "hexdump"
    (tramp-message vec 5 "Finding a suitable `hexdump' command")
    (or (tramp-find-executable vec "hexdump" (tramp-get-remote-path vec))
	(when-let*
	    ((busybox (tramp-get-remote-busybox vec))
	     (command (format "%s %s" busybox "hexdump"))
	     ((tramp-send-command-and-check
               vec (concat command " <" (tramp-get-remote-null-device vec)))))
	  command))))