Sponsored Content
Top Forums Web Development Help with opening/viewing doc file via linux terminal Post 302578367 by Corona688 on Thursday 1st of December 2011 11:01:44 AM
Old 12-01-2011
Quote:
Originally Posted by chams
[SIZE=2]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.
ooffice arts_life.doc

You certainly don't need sudo to run it like you did in your other thread! That's dangerous!
This User Gave Thanks to Corona688 For This Post:
 

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. UNIX for Dummies Questions & Answers

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... (2 Replies)
Discussion started by: chams
2 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
mcat(1) 						      General Commands Manual							   mcat(1)

Name
       mcat - dump raw disk image

Note of warning
       This  manpage  has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete.  See the
       end of this man page for details.

Description
       The mcat command is used to copy an entire disk image from or to the floppy device. It uses the following syntax:

       mcat [-w] drive:

       Mcat performs the same task as the Unix cat command. It is included into the mtools package, since cat cannot access remote floppy  devices
       offered by the mtools floppy daemon.  Now it is possible to create boot floppies remotely.

       The default operation is reading. The output is written to stdout.

       If  the	-w  option is specified, mcat reads a disk-image from stdin and writes it to the given device.	Use this carefully! Because of the
       low-level nature of this command, it will happily destroy any data written before on the disk without warning!

See Also
       Mtools' texinfo doc

Viewing the texi doc
       This manpage has been automatically generated from mtools's texinfo documentation. However, this process is only  approximative,  and  some
       items, such as crossreferences, footnotes and indices are lost in this translation process.  Indeed, these items have no appropriate repre-
       sentation in the manpage format.  Moreover, not all information has been translated into the manpage version.  Thus I strongly  advise  you
       to use the original texinfo doc.  See the end of this manpage for instructions how to view the texinfo doc.

       *      To generate a printable copy from the texinfo doc, run the following commands:

		     ./configure; make dvi; dvips mtools.dvi

       *      To generate a html copy,	run:

		     ./configure; make html

       A premade html can be found at `http://www.gnu.org/software/mtools/manual/mtools.html'

       *      To generate an info copy (browsable using emacs' info mode), run:

		     ./configure; make info

       The  texinfo  doc looks most pretty when printed or as html.  Indeed, in the info version certain examples are difficult to read due to the
       quoting conventions used in info.

mtools-4.0.18							      09Jan13								   mcat(1)
All times are GMT -4. The time now is 09:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy