Open .txt file using OpenOffice through terminal
location: linuxquestions.com - date: May 31, 2006
I've created a .txt file using touch johan.txt.
When I run cat johan.txt through terminal, it display the file contents in the terminal.
Is there a command that when I type in the terminal, it will display the contents of the file using OpenOffice or KWord or any text editor?
What unix command can be used to open the text file using Textpad
location: linuxquestions.com - date: February 29, 2012
We have a requirement where in , there is a third party program which would generate a Text file or html file and these files would come and get stored in the directory.
Now i need to open these files in only Textpad.exe
Could you please help me on this.
[SOLVED] E297: Write error in swap file
location: linuxquestions.com - date: December 1, 2009
I am trying to do a simple edit using vi on a large .sh file 818532 in size. I have loads of swap so I can't understand why I get the write error.
Swap 4192956K total, 2270396k used and 1922560k free
Am I missing something obvious.
Smaller files can be edited without any problems.
The OS is Linux Redhat 5
I assume it's a space issue as the temp .swp file that is generated is 1051811840 but this seems far bigger that the original file?
Is there another way to edit a large file as this just doesn't seem logical :-(
[SOLVED] Problem in adobe reader. Computer is hanging when opening .pdf file.
location: linuxquestions.com - date: June 27, 2011
Problem in adobe reader. Computer is hanging when opening .pdf file.
I recently installed adobe reader 9.4.2 on my computer.
Im using mandriva.
Do anyone knows how to reconfigure adobe reader?
Commenting out lines in a file using a bash script.
location: ubuntuforums.com - date: May 29, 2010
I was wondering if anyone could help me figure out how I could comment out certain lines in a file using a bash script.
The lines I'm looking for are
php_admin_value engine Off
I want to prefix every one of the above lines with a # so that the lines look like this.
# <IfModule mod_userdir.c>
# <Directory /home/*/public_html>
# php_admin_value engine Off
Does anyone know how I could do this?
Creating a swap file using a internal secondary hard drive?
location: ubuntuforums.com - date: January 12, 2013
I have one STA 64 hard drive and a 32 IDE hard drive
The STA has my os on it and i would like to create a swap file on the IDE hard drive
How would I Do this?
Im using 64 bit 12.10
create a text file using terminal and to add contents into it
location: linuxquestions.com - date: March 11, 2013
i am new to linux and i want to create a text file using terminal and to add contents into it.
How can i achieve that??
E297: Write error in swap file
location: linuxquestions.com - date: December 25, 2006
Hi, I am getting this error when I tried to edit a file "E297: Write error in swap file". Can somebody help me in resolving this issue?
[SOLVED] How to redirect compilation/build error to a file?
location: linuxquestions.com - date: September 8, 2010
How do you redirect or save compilation errors to a file? This is useful for building kernel since most warning and errors are too many sometimes?
For example, how to save/capture the "make[x]: *** Error " and warnings here?
Possible to pipe output and error to a file while displaying them on monitor?
location: linuxquestions.com - date: November 24, 2005
Would it be possible to display the results of 'cat testfile' on the monitor while piping the standard output and error to a file? I tried 'cat testfile &> capturedfile', but the content of 'testfile' is not displayed on the monitor (the content is however piped successfully into the capturedfile).
Also, does the tee command capture error output in the file (capturedfile) too? Eg.
'cat testfile |tee capturedfile'
Page: 1 2 3 4 5 6 7 8 9 10