Linux command learning (15)—md5sum and mount --bind
the use of commands
Through the md5sum command of Linux, a unique MD5 value (128bit) can be calculated for a specified file.
By comparing the MD5 values before and after the file, you can determine whether the file has changed (whether it has been modified).
1. Use md5sum to generate a check code. The command is as follows
md5sum file # 直接查看文件校验
二、mount --bind命令使用示例如下:
mount --bind /data/临时文件 /usr/bin/源文件
mount --bind /data/临时文件 /usr/lib/源文件
mount --bind /data/临时文件 /usr/lib/源文件