nc(1) (or netcat) is useful not only for redirecting input/output to
TCP or UDP connections, but also for proxying them with inetd(8).
To obtain a neat PostScript rendering of a manual page, use ``-t'' switch
of the man(1) utility: ``man -t
man -t grep > grep.ps # Save the PostScript version to a file
or
man -t printf | lp # Send the PostScript directly to printer
If you use the C shell, add the following line to the .cshrc file in your
home directory to prevent core files from being written to disk:
limit coredumpsize 0
-- Dru
You can limit the depth of the displayed datasets in the "zfs list" output
using the -d parameter. To display only the first level of datasets below
mypool/usr and not the ones deeper than those, run this command:
zfs list -d 1 mypool/usr
-- Benedict Reuschling
A user "sender" needs the following permissions set to send a ZFS dataset:
# zfs allow -u sender send,snapshot txpool
On the receiving side, the user "receiver" requires these permissions:
# zfs allow -u receiver compression,mountpoint,mount,create,receive rxpool
-- Benedict Reuschling
Can't remember if you've installed a certain port or not? Try "pkg info
-x port_name".
Do you want to know which version of FreeBSD you are running? Enter
"freebsd-version -ku" to display kernel and userland version.
-- Lars Engels
Do you want to know which version of FreeBSD you are running? Enter
"freebsd-version -ku" to display kernel and userland version.
-- Lars Engels
Forget what directory you are in? Type "pwd".
-- Dru
You can use /etc/make.conf to control the options used to compile software
on this system. Example entries are in
/usr/share/examples/etc/make.conf and in make.conf(5).
For options that are set for building FreeBSD's kernel and its world, see
src.conf(5).
To easily configure your installed FreeBSD use bsdconfig(8).
-- Lars Engels
If you `set watch = (0 any any)' in tcsh, you will be notified when
someone logs in or out of your system.
To see how long it takes a command to run, type the word "time" before the
command name.
-- Dru
Want colour in your directory listings? Use "ls -G". "ls -F" is also useful,
and they can be combined as "ls -FG".
To see how much disk space is left on your UFS partitions, use
df -h
-- Dru
To save disk space in your home directory, compress files you rarely
use with "gzip filename".
-- Dru
A user "sender" needs the following permissions set to send a ZFS dataset:
# zfs allow -u sender send,snapshot txpool
On the receiving side, the user "receiver" requires these permissions:
# zfs allow -u receiver compression,mountpoint,mount,create,receive rxpool
-- Benedict Reuschling
You can search for documentation on a keyword by typing
apropos keyword
Can't delete /usr/obj? Enter "chflags -R noschg /usr/obj" to remove the
system immutable flag for all files in /usr/obj.
-- Lars Engels
Want to list all files of an installed package? Enter
"pkg info -l packagename".
-- Lars Engels