Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Help with opening/viewing doc file via linux terminal Post 302578113 by chams on Thursday 1st of December 2011 01:45:49 AM
Old 12-01-2011
Help with opening/viewing doc file via linux terminal

I am currently trying to open a .doc file in my workstation via terminal. This is my code:

root@ojt:/home/ojt/Desktop# cat arts_life.doc

and it gave me a bunch of unknown characters together with the contents of the doc file. What I actually want to happen is that it will open the actual file in its designated software, say for the arts_life.doc, I would like to open it in the OpenOffice.org Word Processor.

I am a totally newbie in Linux and would like to explore in it. I'm also doing some researches here but I will highly appreciate some help Thanks guys. Godspeed.


---------- Post updated 12-01-11 at 01:44 AM ---------- Previous update was 11-30-11 at 10:04 PM ----------

root@ojt:/home/ojt/Desktop# sudo oowriter arts_life.doc

call the software first then the file from its proper directory Smilie

---------- Post updated at 01:45 AM ---------- Previous update was at 01:44 AM ----------

>.< i was able to find out in the end Smilie soo fulfilling Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Viewing unix jaz disk in Linux Mandrake..Can I??

Can I utilize Linux to read a Unix formatted Jaz drive in linux mandrake... Basically are the ext2 files compatible... I seem to be having a rather nasty time due to my ignorance on the platform... Help would be much apprecited Thanks !! T.J.:( ;) (1 Reply)
Discussion started by: mpmania
1 Replies

2. UNIX for Dummies Questions & Answers

Opening a file from the terminal

Hi, this is such a simple question (I think), but I don't know the answer, obviously. If I'm using the terminal, and I'm remotely logged on to another computer, and I'm in my directory on that computer, what command would I use to...open a file? For example, a .exe file, or a .txt file...all I want... (6 Replies)
Discussion started by: Djaunl
6 Replies

3. Linux

Opening a TXT file in LINUX / UNIX

Hey Friends, When I open (More <filename>) a big txt file in UNIX /LINUX it asks me to press any key to see remaining file. Can I see it in a stretch? I mean I jst want to let the contains of file scroll up completely. Is there any way out? Plz help. Thanx in advance Anushree. (2 Replies)
Discussion started by: anushree.a
2 Replies

4. IP Networking

start a new terminal from a script after opening VPN

Hi all, I am trying to write a script that launch the cisco vpn client from the command line and then connects to a remote host using ssh. When i connect to the cisco vpn using vpnclient client connect the last lines of output from that client is Encryption: 168-bit 3-DES Authentication:... (0 Replies)
Discussion started by: borderblaster
0 Replies

5. Linux

Opening a GUI from a putty window on Linux

Hi, I have a linux which I am accessing using putty.I have written some code in TCL-Tk & developed a GUI based app.I knew that it is difficult to open a GUI based app. from putty,but there must be some way to do that. If anybody knows any such workarounds kindly let me know. Shell I am using is... (4 Replies)
Discussion started by: forstudy3
4 Replies

6. UNIX for Dummies Questions & Answers

Opening a terminal with bash

Hi, The computer that I use is on a network and has the exact same installation as other computers on the network (Ubuntu 10.04 LTS). When I open a new terminal window by default it opens a tcsh shell. I don't have the root privilege to modify it. Is it possible to open a terminal window that... (8 Replies)
Discussion started by: gaurab
8 Replies

7. Web Development

Help with opening/viewing doc file via linux terminal

I am currently trying to open a .doc file in my workstation via terminal. This is my code: root@ojt:/home/ojt/Desktop# cat arts_life.doc and it gave me a bunch of unknown characters together with the contents of the doc file. What I actually want to happen is that it will open the... (4 Replies)
Discussion started by: chams
4 Replies

8. Shell Programming and Scripting

Can I view doc files from terminal

Sometimes I'm working from terminal for long periods of time and I come across a doc file I don't recognize. I've been trying to figure out how to view it instead of opening up word. I've tried cat but it jumps into binary and my terminal goes nuts. Is there a way I can do this from... (4 Replies)
Discussion started by: syregnar86
4 Replies

9. UNIX and Linux Applications

Groups are disappearing on opening of new konsole/terminal

Hi when I open a new KDE/terminal all my project groups are disappearing. help is much appreciated. Thanks Sujay (2 Replies)
Discussion started by: sujaybatni
2 Replies

10. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies
ISATTY(3)						     Linux Programmer's Manual							 ISATTY(3)

NAME
isatty - test whether a file descriptor refers to a terminal SYNOPSIS
#include <unistd.h> int isatty(int fd); DESCRIPTION
The isatty() function tests whether fd is an open file descriptor referring to a terminal. RETURN VALUE
isatty() returns 1 if fd is an open file descriptor referring to a terminal; otherwise 0 is returned, and errno is set to indicate the error. ERRORS
EBADF fd is not a valid file descriptor. EINVAL fd refers to a file other than a terminal. POSIX.1 specifies the error ENOTTY for this case. ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7). +----------+---------------+---------+ |Interface | Attribute | Value | +----------+---------------+---------+ |isatty() | Thread safety | MT-Safe | +----------+---------------+---------+ CONFORMING TO
POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD. SEE ALSO
fstat(2), ttyname(3) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. Linux 2015-08-08 ISATTY(3)
All times are GMT -4. The time now is 02:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy