I have a couple of questions:
How would I set my NIC with a static address?
How do I change the prompt to anything but <myname>?
Please bear with the UNIX-impaired and give me a hand!
To make changes stick between reboots, look at /etc/rc.conf if runningQuote:
> I have a couple of questions:
> How would I set my NIC with a static address?
ifconfig inet X.X.X.X netmask 255.255.255.0
Look at the documentation for your shell. I use the tcsh, and my promptQuote:> How do I change the prompt to anything but <myname>?
To make this happen, I inserted in my .cshrc file:
Remember this is specific to the tcsh. Any other shell, read your man
page. Both sh and csh are available on a stock FreeBSD system. You
might want to install tcsh from a port or package.
Most of us were in your shoes not too long ago. :-)Quote:> Please bear with the UNIX-impaired and give me a hand!
I want to turn input that looks like
Can sed do this? (My copy doesn't seem to use '+' to mean one or
more.) (And if it varies, my input is filled with spaces, not
End of question proper. Follow-up is set to me, I hope. I'll
1. Would it be wiser to ask this in c.u.shell?
2. I'm sure there are 40 ways other than sed to do this; if you
send me other suggestions, I'll summarize.
11. LOST LOST LOST