[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: weird characters



Woohoooooooooooo!!!!!!!

thanks heaps =>

from

da Bobstopper

--------------------Snip ------------------------

are you sure that file is ascii text and not a binary file?

if i for example run:

cat /bin/ls

my terminal gets totally screwed and unreadable but still works (hey 
encrypted terminal! :))))

to fix run:

setterm -reset

or just reset, but that screws up some keybindings sometimes and you 
get ^H^H^H crap again when you use backspace.

before using cat or tail on  a file you are not certain to be plain text run

file filename

first that will tell you what the data is, if it responds as data, or 
elf binary file or anything other then text you should not try and 
run head, tail, cat etc on it.

Ethan


-- 
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

----- End of forwarded message from Ethan Benson -----


Reply to: