From 04fdff7dd5d65ce6ec28831af34f842f02c8b955 Mon Sep 17 00:00:00 2001 From: vanvuvuong Date: Wed, 13 Nov 2024 15:16:08 +0700 Subject: [PATCH] add more sha256sum example --- pages/common/sha256sum.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/sha256sum.md b/pages/common/sha256sum.md index 13408dae2ef26..ca05993957b4b 100644 --- a/pages/common/sha256sum.md +++ b/pages/common/sha256sum.md @@ -26,3 +26,7 @@ - Only show a message when verification fails, ignoring missing files: `sha256sum --ignore-missing --check --quiet {{path/to/file.sha256}}` + +- Check known SHA256 sum of a file: + +`echo {{known-sha256-sum-of-the-file}} {{path/to/file}} | sha256sum --check`