Friday, April 26, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 521  / 2 Years ago, wed, july 20, 2022, 2:43:12

I was reading through Introduction to Linux by Machtelt Garrels and read about the cat command.



I tried to open a pdf file using cat. After opening the file the whole character set of the terminal changed, what is the reason behind this?



Below is the before/after screenshots



Before
enter image description here



After
enter image description here



Unless I restart the terminal, the english characters won't return. Is there a way to get back the original characters without restarting the terminal?


More From » command-line

 Answers
2

Entering reset should fix it again.


[#15525] Thursday, July 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
olltea

Total Points: 238
Total Questions: 115
Total Answers: 107

Location: Moldova
Member since Tue, Feb 7, 2023
1 Year ago
;