LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-04-2003, 11:27 AM   #1
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Rep: Reputation: 31
Angry Open a file


This probably seems pretty basic but I can't figure out how to open a text file. It's an "Opera" file, Opera.ini. I have found it but I don't know how to open it into something I can edit. I lost my Opera Menu bar and the keyboard commands for recovery don't work, ctrl f11 and alt v. So, they say I have to go into /opera/opera6ini,userprefs, and set show menu=1. But I can't get into the file. I downloaded Opera to the desktop and installed from there.

Last edited by raysr; 12-04-2003 at 11:28 AM.
 
Old 12-04-2003, 11:30 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
"cat <filename>" will show you the file contents, "less <filename>" is better for long files.

To edit the file, learn how to use vi "man vi" or emacs.

There are probably lots of graphical editors on your system - look for nedit, kedit, gedit.

John
 
Old 12-04-2003, 11:35 AM   #3
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
What distribution/version are you running? Emacs is always an editor of choice otherwise. Type
Code:
emacs opera.ini
or whatever the file name is. Then after you have finished editing it, type ctrl-x ctrl-s to save. ctrl-x ctrl-c leaves emacs.

After you start using emacs (on a daily basis preferably) you will notice that the sky is much bluer and the sun is warmer.

Regards
Martin
 
Old 12-04-2003, 09:27 PM   #4
raysr
Member
 
Registered: Nov 2003
Location: WA State
Distribution: Ubuntu 13.04
Posts: 727

Original Poster
Rep: Reputation: 31
Thumbs up

Thanks for the reply!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
awk: fatal:cannot open file for reading (no such file or Directory) in Linux sangati vishwanath Linux - Software 4 07-06-2005 12:59 AM
Kpilot 4.4.0 File Installer -Unable to Open File- Clie SJ-22 sephiro499 Linux - Software 0 10-04-2004 12:25 PM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM
Mozilla 1.7 - No File Save / File Open dialogs on Slackware 10.0 jayseye Slackware 8 08-10-2004 05:52 AM
How to open a wps file in open office 1.1 oneiric Linux - Software 4 04-15-2004 04:07 AM


All times are GMT -5. The time now is 04:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration