I want to edit files while in runlevel three. I am trying to learn how to navigate my entire system via CL. Whenever I use gedit in runlevel three, is says, “cannot open display”
Is there a utility to edit files without X11 fired up?
Just because you are a new user i would like to add
nano
to the list, which must be installed first via “zypper in nano” but i think it provides basic editing tools and is a little bit easier to use than the vi
subcook69420 wrote:
> Is there a utility to edit files without X11 fired up?
i suggest you look at Midnight Commander, it has a built in editor
which is real easy to use (compared to vi, vim etc) AND it is a two
pane “file manager” where you can easily copy or move files from one
place to another…
and, do all sorts of other things also…
sudo zypper in mc
should get it installed, then at any command line, just type and enter
mc
well, you really should take a look at
man mc
first, to get an idea of how really powerful it is…i use it all the
time and very seldom ever use dolphin/etc to drag/drop files…
Some alternative editors have already been mentioned. Let me add ‘joe’ to this list. I use it quite a lot, because it supports fancy syntax highlighting and is very easy to learn. ^K H will display a help screen. Start joe with: