Keep in mind that you can drag an icon to the terminal window and terminal will enter the complete path to that file automatically. So you could type: sudo pico ... and drag the desired icon to the terminal window and it would complete the command for you. -- Bryan Forrest Macintosh Specialist LifeNet http://www.lifenet.org
> From: Jerry Yeager <jerry at browseryshop.com> > Date: 2002/11/22 Fri PM 01:40:23 EST > To: macgroup at erdos.math.louisville.edu > Subject: Re: MacGroup: Changing misspelling in BIND > > Allan, > > You can try the following in Terminal to edit "reserved" text documents: > > 1) Open a terminal window and use the 'cd' command to navigate to the > folder that has the file. > type ls -la then hit return (there is a space there) you will get a > long listing, you want this to detemine any .xyz ending the file has > type: sudo pico filename (with .xyz ending) > You will be asked for your admin password. Enter it, then a text editor > will open up in your terminal window. It is easy to use, it uses the > cursor arrow keys to move around. > Make the changes you wish to. To save the file you will use the > control-o (it is called writing out the file). Then use crtl-x to exit. > > 2) If you know the full path and filename, then just open a terminal > window and type sudo pico /path/filename and hit return. > > Jerry > > On Friday, November 22, 2002, at 08:27 AM, Allan Atherton wrote: > > > Schoun Regan <schounregan at mac.com> wrote: > >> ... there is a spelling error in BIND that came with 10.2. The actual > >> BIND > >> service in /System/Library/StartupItems/BIND/ BIND has a spelling > >> error to > >> restart the service in case of error (ironically, usually 'caused' by > >> lookupd). You will see DNSSServer instead of DNSServer inside BIND. > >> Try > >> removing the extra S, as root, and that should also help clean things > >> up. > > > > You say "You will see DNSSServer instead of DNSServer inside BIND". > > > > I just took a quick look at BIND in Finder, and it is a 4k document > > that > > does not open. If I come back as root, how would I be able to get into > > it > > and change that misspelling? Do I both have to become root and then > > get into > > the document via Terminal or something? > > Allan Atherton > > > > > > The next meeting of the Louisville Computer Society will be November 26 > > For more information, see <http://www.aye.net/ ~lcs>. A calendar of > > activities is at <http://www.calsnet.net/macusers>. > > > > > > > > > > > The next meeting of the Louisville Computer Society will be November 26 > For more information, see <http://www.aye.net/~lcs>. A calendar of > activities is at <http://www.calsnet.net/macusers>. > > The next meeting of the Louisville Computer Society will be November 26 For more information, see <http://www.aye.net/~lcs>. A calendar of activities is at <http://www.calsnet.net/macusers>.
