UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 11th, 2006, 07:21 AM
2bunnamed 2bunnamed is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 1 2bunnamed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 32 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old August 11th, 2006, 10:01 AM
mu's Avatar
mu mu is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Location: Dublin, Ireland
Posts: 174 mu User rank is Sergeant Major (2000 - 5000 Reputation Level)mu User rank is Sergeant Major (2000 - 5000 Reputation Level)mu User rank is Sergeant Major (2000 - 5000 Reputation Level)mu User rank is Sergeant Major (2000 - 5000 Reputation Level)mu User rank is Sergeant Major (2000 - 5000 Reputation Level)mu User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 23 h 39 m 56 sec
Reputation Power: 39
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > Goofed on rc.conf (freebsd6.1)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT