Extract characters from the file located at /path/to/file.txt, starting from the fifth character and ending at the tenth character, and also from the fifteenth character to the twentieth character.
cut -c5-10,15-20 /path/to/file.txt