Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux rhmask command

Linux rhmask command

Linux Command Reference Linux Command Reference

The Linux rhmask command is used to encrypt and decrypt files.

Running the rhmask command can produce an encrypted file, making it convenient for users to transmit the file over a public network without it being misappropriated.

Syntax

rhmask [加密文件][输出文件] 或 rhmask [-d][加密文件][源文件][输出文件]

Parameters:

Example

To use the "rhmask" command to encrypt the file "code.txt" and save it as the output file "demo.txt", enter the following command:

$ rhmask code.txt demo.txt

After the above command runs, the file "code.txt" will be encrypted and saved as the encrypted file "demo.txt".

Note: this command has two syntax forms; the user can choose either one to use.

Linux Command Reference Linux Command Reference