I want to delete all the control characters from my file using linux bash commands. There are some control characters like EOF (0x1A) especially which are causing the problem when I load my file in another software. I want to delete this. Here is what I have tried so far: this will list all the control characters: cat -v -e -t file.txt | head -n 10 ^A+^X$ ^A1^X$ ^D ^_$ ^E-^D$ ^E-^S$ ^E1^V$ ^F%^_$