• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to open xml file from unix  RSS feed

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,

Can you tell me how view xml file and zip files in Unix.
I guess I need to export in my local. Can you suggest commands for it.

Thank You.
 
Marshal
Posts: 4054
241
Clojure IntelliJ IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you ask for commands, I assume you want to view them from the Command Line Interface?

vim somefile.xml

unzip somearchive.zip
 
lowercase baba
Bartender
Posts: 12565
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vim is an editor. if you just want to look at it but not be able to edit, you can use "less":

>less somefile.xml

you can also use more, but less has more features than more. so ironically, less > more

 
Rancher
Posts: 999
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Cooke wrote:
unzip somearchive.zip



Or to just list the contents:

unzip -l somearchive.zip
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!