For completeness, similar to http://serverfault.com/questions/2817/hidden-features-of-linux and http://serverfault.com/questions/17468/hidden-features-of-solaris-opensolaris, what are the hidden features of FreeBSD?
feedback
|
locked by Mark Henderson♦ Dec 23 '11 at 22:28
This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. More info: FAQ.
|
I've accidentally found in the source of | ||||
|
feedback
|
|
Documentation! The manual pages, which lie midway between the brevity and vagueness that typifies Linux documentation, and the overtechnical detail of Solaris manpages. The handbook, which helps people who are new to systems administration, new to FreeBSD, or even new to Unix get started. | ||||
|
feedback
|
|
I'm surprised no one has mentioned jail yet. Very similar to zones in Solaris, jails offer a very convenient and secure way to isolate applications as well as creating virtual hosts. An old one (these days) is the background fsck and filesystem snapshots. I've always rather liked the various 'stat' commands and the way systat ties them alot of them together. It's a great addition to top. Linux doesn't seem to have the various collection of 'stat' commands that FreeBSD has. Availability of three different packet filters to suit your preference -- ipfw, ipf, and OpenBSD's pf. | ||||
feedback
|
|
Here are a couple of basic ones from my tool bag. I left out the things that are common to multiple Unix-likes, but many of the Linux "hidden features" tips are also usable on FreeBSD. I also tried to avoid saying things like "ZFS rocks." While I think that's true, it's not really very hidden. :-) Console configuration:
System administration:
Ports management and software:
Edited to fix orphaned kernel config, and minor grammar. | ||||
|
feedback
|
|
| |||||||
feedback
|
% grep -A4 JOKE /usr/src/usr.bin/make/job.c
#ifndef WITHOUT_OLD_JOKE
if (strcmp(gn->name,"love") == 0)
(*abortProc)("Not war.");
else
#endif
% make love
Not war.
Exit 2
| ||||
|
feedback
|
|
Simplicity and control - a base BSD installation is much leaner than a typical Linux distribution. See this posting for a back of envelope comparison of *BSD against other operating systems. | ||||
|
feedback
|
|
Not hidden (they are quite common), but critical for basic FreeBSD use:
| ||||
|
feedback
|