|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Goofed on rc.conf (freebsd6.1)
opps...
I left a quotation mark off the end of a line in rc.conf: dovecot_enable="YES so unix rebooted and is running in a very basic shell, and I can't seem to use vi, ee or pico. the number of commands I can use are very limited, however I was able to use "cat /etc/rc.conf" to view the file. lines like more, etc don't work. does any one have an idea how to edit rc.conf, or should I just wipe the os and start over? Thanks |
|
#2
|
||||
|
||||
|
Can you use grep? If so you should be able to use it to remove the line.
Code:
grep -v "^dovecot_enable" rc.conf > rc.conf.tmp mv rc.conf.temp > rc.conf |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Goofed on rc.conf (freebsd6.1) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|