FreeBSD: Difference between revisions

From DWIKI
mNo edit summary
Line 45: Line 45:
===crontab: temp file must be edited in place===
===crontab: temp file must be edited in place===
Happens when you set EDITOR=vim. Fix it by setting '':set nobackup'' and '':set nowritebackup'' in .vimrc
Happens when you set EDITOR=vim. Fix it by setting '':set nobackup'' and '':set nowritebackup'' in .vimrc
[[Category: System Administration]]

Revision as of 20:04, 2 March 2008

Documentation

Tips and Tricks

  • man intro
  • man tuning
  • mergemaster
  • man pw
sysinstall
cd /sys/i386/conf ; make LINT

Kernel modules

kldload kldstat etc

Hardware info

kenv
pciconf -lv
grep -i cpu /var/run/dmesg.boot
sysctl hw.ncpu

Resources

systat -pigs

FAQ

Upgrading

http://people.freebsd.org/~rse/upgrade/

portupgrade -P -f -a

Post install messages

/usr/ports/*/*/pkg-message

Courier-imap certificates

check out /usr/local/share/mkimapdcert

crontab: temp file must be edited in place

Happens when you set EDITOR=vim. Fix it by setting :set nobackup and :set nowritebackup in .vimrc