edit.app on my Cube is damaged and won't open. How can I create the resolv.conf file so I can setup my DNS settings?
should have the command line editor vi on there.
Quote from: "helf"should have the command line editor vi on there.
Sorry but I'm a newbie here.
Do you mean terminal.app ?
If so do you know what the commands would be to create resolv.conf ?
Quote from: "garethslee"Quote from: "helf"should have the command line editor vi on there.
Sorry but I'm a newbie here.
Do you mean terminal.app ?
If so do you know what the commands would be to create resolv.conf ?
-> Terminal.app (as root)
cd \etc
vi resolv.conf
<type in your text>
(hit the escape key)
<type in:>
:x!
(after typing the : in, the cursor must be on the bottom of the "screen", the : should not be in the typed in text. If so, hit escape one mor time. Escape sets the vi in command mode)
-> Terminal.app (as root)
cd \etc
vi resolv.conf
<type in your text>
(hit the escape key)
<type in:>
:x!
(after typing the : in, the cursor must be on the bottom of the "screen", the : should not be in the typed in text. If so, hit escape one mor time. Escape sets the vi in command mode)[/quote]
Do you mean by "<type in your text>" that I enter my DNS servers? I have 2 so do I enter one then press return and enter the second?
Also after the (hit the escape key) do I type in "<type in:>" or just "x!"
Quote from: "garethslee"
Do you mean by "<type in your text>" that I enter my DNS servers? I have 2 so do I enter one then press return and enter the second?
Yes, as long as you are in input mode of vi.
Quote
Also after the (hit the escape key) do I type in "<type in:>" or just "x!"
vi is an editor from a generation that have keyboard without crtl, alt or something like that.
you should read here
http://www.eng.hawaii.edu/Tutor/vi.htmland test with a few files.
Since vi is on most OS available, it's worth to learn how to handle.
The cube is on the Net!!! A great big thank you to Andreas. Next project will be webserver. so I'll probably be back soon :-)
congrats :)
sorry I didnt get back. I left from work right after posting that. heh