Rex::Commands::MD5(3pm)

Rex::Commands::MD53pm

Calculate md5 sum of files

Usage

 use Rex::Commands::MD5;
 my $md5 = md5($file);

Overview

With this module you calculate the md5 sum of a file.

This is just a helper function and will not be reported.

Exported functions

md5($file)

This function will return the MD5 checksum (hexadecimal) for the given file.

 task "checksum", "server01", sub {
   say md5("/etc/passwd");
 };

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From rex 1.16.0-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.