[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: where does 'cat' get it's info?



On Fri, Aug 10, 2001 at 12:06:57PM -0700, Vineet Kumar wrote:
> It's better this way. It hardly makes sense to try to $EDITOR these
> "files" anyway; just use echo and cat. (You're usually just reading or
> writing one byte anyway).

Better yet, use sysctl.

  $ /sbin/sysctl net.ipv4.ip_forward
  net/ipv4/ip_forward = 0

Edit /etc/sysctl.conf to "keep" settings over reboots, etc.

sysctl and friends are part of "procps" which is priority Required.

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd.                 | than a perfect plan tomorrow.
mailto:nnorman@micromuse.com   |   -- Patton

Attachment: pgpOBdJEHJOID.pgp
Description: PGP signature


Reply to: