The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Opening Files as command line arguments Cactus Jack Shell Programming and Scripting 20 01-23-2008 09:27 PM
Opening Files in append mode vidhya UNIX for Dummies Questions & Answers 1 03-27-2006 01:46 PM
opening non-html files in lynx?? riwa UNIX for Dummies Questions & Answers 0 03-04-2006 02:07 PM
Opening CDE encrypted UNIX for Advanced & Expert Users 3 01-24-2005 09:56 AM
Opening files saarshad001 UNIX for Dummies Questions & Answers 3 11-28-2003 09:42 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-09-2003
AJA AJA is offline
Registered User
 

Join Date: Nov 2003
Posts: 17
Angry Opening Files

I'm a new to UNIX/LINUX. I just put cygwin on my laptop and I can navigate around the directories, but I can't open files (.doc, .ppt, .html or .exe). Is there an explicit command to do this? I know that in Solaris when it does not recognize the file, it brings up the list of available viewing applications, much like Windows, but I've looked through all my UNIX books and can't find a thing about opening files. It's mostly about navigating through directories and cmds and flags for display of info. I know cygwin is a LINUX emmulator, but I have a feeling that this is not specific to UNIX/LINUX. It's either cygwin or it's my lack of knowledge. Please let me know if you've had similar problems or if you see blatant stupidity here. It's possible. I've just migrated to UNIX from a life of Window$ and I'm admittedly still green.--thanks--AJ
Forum Sponsor
  #2  
Old 11-09-2003
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
well what command are you using to open the file? you can open anything (except binary files) with a pager like less

eg:

less filename.whatever

you need a viewer for different types of files.

if you want to parse an html file you could open it with lynx if you have it installed

eg:

lynx something.html

if you want to execute something you would generally do it with:

./filename

and so on.
  #3  
Old 11-09-2003
AJA AJA is offline
Registered User
 

Join Date: Nov 2003
Posts: 17
OK, I tried the less command and it worked on my .exe files, which is good, but I'm still perplexed about other files. It sounds like it might be a cygwin thing. If I want to open up a file on my desktop called test.doc, MS word, how could I do that like I would if I were just double-clicking on the object on my desktop using Windows2000? That's my current point of being stuck, but thanks for the help you've provided already.
  #4  
Old 11-09-2003
Registered User
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
i dont know there may be a commandline app for viewing .doc files, search freshmeat.net or sourceforge.net for something like that.
otherwise why not use word? if your running X on cygwin then you can download openoffice or kword or something like that.
  #5  
Old 11-10-2003
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,477
ppt and doc are MS Office files on Windows. On Unix/Linux we do use OpenOffice to open MS Office files, simply because it is the best alternative for MSO on non-Windows platform. So you are on Windows, why not fire up MS Office to open them?

IMO cygwin does not give you a true Unix environment. If you want to try PC-based Unix, try some distro of Linux. IMO cygwin is good for being able to display forwarded X11 connections from remote servers without paying for an X emulator on Windows. Beyond that, messing with cygwin doesn't really worth the effort.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0