how to view unix file ?

Hi to all,

1- I'm trying to open a certain file in unix with the tool KEA!

2- i get to the correct folder with the CD command

3- Once in the correct directory i try the following unix command:
vi NameOfFile.Z

4- Yes those files finish with a .Z

5 - I get something in the KEA! screen but everything seems unreadable and encoded ???

Then i try to simply use the GREP command in order to search for the word halifax in one of those files (one by one) :

$ grep "halifax" EX.RD.120131232505.SLSILD.20120131.5220.Z

but i simply get back to the cursor next to the $ sign and no error message or message what so ever ???

Any hints how to get to read those files.

Thanks !

Never heard of KEA!

Please state what Operating System and version you are using and what Shell you prefer.

First use the "file" command to enquire what sort of file this is:

file filename.Z

By convention ".Z" files have been compressed with the unix "compress" utility.
To read the file if it is a compressed text file:

zcat filename.Z

To uncompress the file (and change its filename to not have the .Z):

uncompress filename.Z

These are compressed files.
The following may help--

Also, search this forum for more info on z files

Terminal emulation software.
KEA! X Suite -- X Window TCP/IP access