Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am new in ubuntu-linux, and I was wondering if there is any way to open or view .kmz file-output through ubuntu-linux commands? Currently I'm using a macbook (XQuarts) bash-ssh connected to a remote computer.

Thanks in advance

share|improve this question
2  
try changing the extension from .kmz to .zip and see what happens - this might be a known problem. .kmz is a Google Earth file, so this should work –  Wilf Oct 29 '13 at 18:13
    
Thanks for your prompt reply. The thing is that I can't change the extension because the KMZ is an output (ozone dispersion) created by my professor and she gave me the permission to see these folders. Here is the path that I want to look: home1:/home/mirk/ozone_dispersion_ENW4_2012091400.kmz I don't know how she does it, but for me this is a mystery. Thanks wilf. –  Eythan Imanol Oct 29 '13 at 18:47
    
Looks like you may need to open it in Google Earth. However, other programs like Marble may be able to open it. There is also a wiki on it –  Wilf Oct 29 '13 at 18:52
    
Ah, re-read the question. To open you will probably have to copy it to your computer using ftp or something. You could also use a Graphical version such as gftp as well. This can then be used to transfer files (FTP = File Transfer Protocol) from the remote computer to yours. The problem with this though is that the remote computer would require a FTP server. Is there any other way of accessing the file? –  Wilf Oct 29 '13 at 19:08
    
Thanks. The only way that I can access these KMZ files is from home1 directory. I am a little confused with all this terms because I am new on this. Sorry I wasn't more specific. –  Eythan Imanol Oct 29 '13 at 20:02
add comment

1 Answer

As this is one file, and as you have ssh access, this should work. It should also work most Unix systems, including Mac. I believe a Windows interface is also available.

With ssh, you can normally access the remote machine by using this command:

ssh username@ip_address

or, sometimes, this:

ssh ip_address -l username

To copy a file from one machine to another, you need to use the scp command. This works like the cp (copy) command, but works through SSH.

Just for clarification, the cp command works like this:

cp '/SOURCE/FILE' '/DESTINATION/FILE`

So, to use the scp command, use this:

scp 'username@ip_address:/SOURCE/FILE' '/DESTINATION/FILE`

So in your case, I think it would be something like this:

scp 'username@ip_address:/home/mirk/ozone_dispersion_ENW4_2012091400.kmz 'WHICH/FOLDER/YOU/WANT/TO/PUT/IT/IN/ozone_dispersion_ENW4_2012091400.kmz'

You should then have it on your computer, and then be able to open it using Google earth, or some other .kmz reading program - some are listed here.

I hope this solves your problem.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.