wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "How to open files in Unix ?" Watch "How to open files in Unix ?" New topic
Author

How to open files in Unix ?

nirjari patel
Ranch Hand

Joined: Apr 23, 2009
Posts: 363
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.

thanks
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41051
    
  43
Since you mention Word, all the common word processing files formats can be opened with OpenOffice.


Ping & DNS - my free Android networking tools app
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15950
    
  19

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to open files in Unix ?
 
Similar Threads
how to open word document in different server
File locking in Unix?
Stupid question about JFileChooser
upload file to windows share folder running on unix
how to open word document in different server