On Sat, Dec 09, 2000 at 11:32:26AM -0800, nate wrote:
>
>That didn't work, this is the error what i got and how
>i typed it:
>
>debian:~#edit /ect/lilo.cfg
>Warning: unknown mime-type for file '/ect/lilo.cfg --
>using '*/*'
>Error: no write permission for file '/ect/lilo.cfg'
>debian:~#
>
OK, first, the directory is /etc (echo tango charlie) not /ect (echo charlie
tango) ; think of Yul Brenner saying et-cet-era, et-cet-era, et-cet-era!
Secondly, i haven't tried using the default EDIT command on Debian, but
in classical UNIX it leads into ex, which is not something i would advise
a beginner to use. It would be better to use the ae editor, or emacs if
you have it.
All in all, then, the command is:
#ae /etc/lilo.conf
and after the edit
#/sbin/lilo
--
if(rp->p_flag&SSWAP) {
rp->p_flag =& ~SSWAP;
aretu(u.u_ssav);
}