how to view unix file ?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting how to view unix file ?
# 1  
Old 02-28-2012
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) :

Code:
$ 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 !

Last edited by joeyg; 02-28-2012 at 05:56 PM.. Reason: Wrap scripts and data with CodeTags
# 2  
Old 02-28-2012
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:
Code:
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:
Code:
zcat filename.Z

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

# 3  
Old 02-28-2012
.z files

These are compressed files.
The following may help--
https://www.unix.com/shell-programmin...s-z-files.html

Also, search this forum for more info on z files
# 4  
Old 02-28-2012
Kea!

Terminal emulation software.
KEA! X Suite -- X Window TCP/IP access
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to view the unix logs in windows ??

Hi ! I have a FTP site, where I softlinked my server log file. Now I want to view the logs in IE as I do in unix Some kind of free tool should be there, Can somebody provide me a pointer. Thanks. (0 Replies)
Discussion started by: dashok.83
0 Replies

2. UNIX for Advanced & Expert Users

How to view .tar file in unix

Guys, Could anyone let me know, how we can see the contents of .tar file without extracting it. I know the extracting and combine options Regards (3 Replies)
Discussion started by: sdosanjh
3 Replies

3. Programming

how to view symbol table in unix

hi , How to view the contents of a "c" program symbol table information in unix. (1 Reply)
Discussion started by: saravanan_nitt
1 Replies

4. UNIX for Dummies Questions & Answers

How to view Drive/RAID config in UNIX...

How do you view Drive/RAID configuration in UNIX? We are running an ML370 with 6 drives in it... Version: Sco 5.2.0 Sco Openserver Release 5 (2 Replies)
Discussion started by: bpoulson
2 Replies

5. UNIX for Dummies Questions & Answers

View TIFF images from UNIX

I am new to unix. I want to know if there is any tool or plugin available for AIX unix system through which a user can see the TIFF images. Below are the details: Our application runs on AIX Unix box. The users log in to the application through telnet clients running on Windows 2000/XP systems.... (1 Reply)
Discussion started by: erpankajgupta
1 Replies

6. UNIX for Dummies Questions & Answers

How to view users in unix

Hi, Im newbie here and in unix as well. How can i view users in unix? Im viewed them in shadow file (i typed: vi /etc/shadow) but some unix (im confused if its unix or linux or bsd, but i think it has a little thing in common or differnce) has no shadow file?! What must i do to view the users... (6 Replies)
Discussion started by: jerome
6 Replies

7. UNIX for Advanced & Expert Users

How do I view my hardware specs in my unix machine ?

I am trying to view the hardware specifications through ssh (4 Replies)
Discussion started by: kfir
4 Replies

8. UNIX for Dummies Questions & Answers

How to view ps and pdf file under unix

Hello, I'd like to view ps and pds file under Unix(Xwindow) who could tell me the which software/command can work? Thanks! Vicky (2 Replies)
Discussion started by: vicky20000
2 Replies

9. UNIX for Dummies Questions & Answers

Unix code - how to view? What is it?

I'm getting curious about making some of my own commands. I know this is realtively easy with script files and combining various unix standard commands. Is there a way to view the code that is used for these standard commands..i.e. how do I see what code is used for the 'join' command. I'm... (2 Replies)
Discussion started by: peter.herlihy
2 Replies
Login or Register to Ask a Question