Fill in the blanks to complete the Bash script in which each file in a directory is renamed to its SHA256 hash?
TARGET_DIR=/usr/local/certs –
for f in ‘__________ __________’; do
__________ $f’ openssl sha -sha256 -r < $f | cut -f1 -cl’ ”
- A. See explanation below.
The post Fill in the blanks to complete the Bash script in which each file in a directory is renamed to its SHA256 hash? appeared first on Majanto.