3 ms·
You're better off using any text editor - cat will display ANSI terminal codes unescaped in many situations, which can inhibit your ability to see code that mig
by floatingatoll 12y ago
You're better off using any text editor - cat will display ANSI terminal codes unescaped in many situations, which can inhibit your ability to see code that might otherwise be hidden by # ^[[<wipe to beginning of line> or somesuch appended to a malicious bit.
- teddyh 12y ago“cat” will display all bytes unescaped – that’s its job. The correct command in this case would be “less” (or any other pager, or possibly editor).
- treve 12y agoWell since you went for a technical argument... if you really want to get technical.. it doesn't display anything and just sends the raw bytes to a stream. It doesn't 'display' all bytes, because not all bytes are displayable. hexdump would do a better job there.