LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Open a file (https://www.linuxquestions.org/questions/linux-newbie-8/open-a-file-122689/)

raysr 12-04-2003 11:27 AM

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.:newbie:

jkobrien 12-04-2003 11:30 AM

"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

MartinN 12-04-2003 11:35 AM

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

raysr 12-04-2003 09:27 PM

:newbie: Thanks for the reply!


All times are GMT -5. The time now is 05:06 PM.