pigz -k "dk test.txt" (The -k flag keeps the original file) Using zip: zip test.zip "dk test.txt" 🖥️ Desktop / GUI Instructions
Right-click the file and select Send to > Compressed (zipped) folder to create a backup. dk test.txt
If you cannot edit or delete it, try prefixing your command with sudo (e.g., sudo rm "dk test.txt" ). pigz -k "dk test
Are you trying to use this file for a or testing script ? dk test.txt
echo "Hello World" > "dk test.txt" (Creates the file with text inside)
Many tutorials use files like this to demonstrate compression tools like pigz or zip :
Use the touch command or a redirect to quickly generate the file in your current directory: touch "dk test.txt" (Creates an empty file)