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.
[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!
You certainly don't need sudo to run it like you did in your other thread! That's dangerous!
Thanks. Yes I have done that. And it worked like magic. By the way, I don't understand why using sudo is dangerous (really, I'm a Linux dummy ). I might do some research first.
By the way, I don't understand why using sudo is dangerous (really, I'm a Linux dummy )
It runs openoffice as administrator. This is a big deal.
User accounts don't just organize your files, they exist to protect each other from unauthorized or accidental access. They can only access files they own or are allowed to access. Now, administrator can access anything on demand, up to and including your hard drive's boot sector, just by writing to the wrong files! Running any program as root means that, if you make a mistake, the consequences could be dire:
It's not just humans that make mistakes either, buggy programs crash too, especially big complicated ones. If you don't need to trust something with root, you just don't. Running openoffice as root isn't something I'd reccomend at all.
Last edited by Corona688; 12-06-2011 at 03:00 PM..
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)
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)
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)
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)
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)
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)
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)
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)
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)