: Run the following command in your terminal: 7z a Perfection.7z your_text_file.txt Use code with caution. This uses the a (Add) command to create the archive. 2. Best Settings for Text Compression
: Use the -mx=9 switch in the command line for the smallest possible file size. 3. Creating "Perfection.7z" on the Fly (Programming)
: Right-click your text file, select 7-Zip > Add to archive... , and name it Perfection.7z .