
02-19-2008, 06:56 AM
|
| |
Re: weird characters Joost Kremers wrote:
> Dave wrote:
>
>>sometimes in my curiosity to learn linux, i start "cat"ing random files in
>>the log directory and such, thinking they are actual logs... i do this with
>>scripts and the such too. However, sometimes i neglect to realize it is a
>>binary file i am "cat"ing, and after it is done, my prompt is all garbage
>>characters.
>
>
> others have told you how to get out of it, but let me give you a tip:
> instead of using cat, use less. it not only handles binary files better,
> without messing up the console, it also allows you to navigate through the
> file.
>
or the rather nice 'most' from http://www.jedsoft.org/
--
zsine http://www.quillion.ukfsn.org |