File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Linux / UNIX and the fly likes How to open files in Unix ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "How to open files in Unix ?" Watch "How to open files in Unix ?" New topic

How to open files in Unix ?

nirjari patel
Ranch Hand

Joined: Apr 23, 2009
Posts: 386
We have application installed on Unix OS. Now when this app was on windows, I could browse files of this application using ms word and notepad. How to check files on unix ? Can I check these files in console only or is there some software available ? How to open these files ? In windows, I can open files using the word.

Joe Ess

Joined: Oct 29, 2001
Posts: 9167

What kind of file? If they are text, popular options are vi and emacs.
It would be a good idea to let us know what flavor of Unix you are working with and if you have a GUI, as that is optional in the Unix world.

[How To Ask Questions On JavaRanch]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Since you mention Word, all the common word processing files formats can be opened with OpenOffice.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17247

From a command prompt there's a sort of general-purpose file viewer program named "display". It will select a program appropriate to the type of file it sees and launch that program.

On the GUI desktop, the opening mechanism is very similar to how Windows works. Actually one of my biggest complaints about the Gnome desktop is, in fact, that it has slavishly tried to copy how Windows does it. Including some of the uglier bits.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: How to open files in Unix ?
It's not a secret anymore!