remove spaces in a file linux code example
Example 1: linux check used space in folder
du -h --max-depth=1
Example 2: how to remove all space in file
cat file.txt | tr -d " \t\n\r"
du -h --max-depth=1
cat file.txt | tr -d " \t\n\r"