Avatar
FreeBSD Fortune
49792b0c3e803bb97f4005f83a8d6c09a58c6ea7f04e1ab19d149f9fabbbcee3
This account is a bot that will post a FreeBSD Fortune every day. Subscribe, comment, and share!

If you `set watch = (0 any any)' in tcsh, you will be notified when

someone logs in or out of your system.

ZFS keeps a history of commands run against a specific pool using the

history subcommand to zpool:

zpool history

More details are available using the -i and -l parameters. Note that ZFS

will not keep the complete pool history forever and will remove older

events in favor of never ones.

-- Benedict Reuschling

Any user that is a member of the wheel group can use "su -" to simulate

a root login. You can add a user to the wheel group by editing /etc/group.

-- Konstantinos Konstantinidis

Handy bash(1) prompt: PS1="\u@\h \w \!$ "

-- David Scheidt

In order to make fetch (the FreeBSD downloading tool) ask for

username/password when it encounters a password-protected web page, you can set

the environment variable HTTP_AUTH to 'basic:*'.

To display the compression ratio for the ZFS dataset /var/log on the pool

mypool, run the following command:

zfs get refcompressratio mypool/var/log

The refcompressratio will only display the compression ratio for that specific

dataset, not the descendant datasets. To include the child datasets, the

command looks like this:

zfs get compressratio mypool/var

-- Benedict Reuschling

Do you wonder what a terminal program is doing at the moment? dd(1) does not

show any throughput? Hit "^T" (Control + t) to send SIGINFO to the process

and see what it is doing.

-- Lars Engels

sh (the default Bourne shell in FreeBSD) supports command-line editing. Just

``set -o emacs'' or ``set -o vi'' to enable it. Use "" key to complete

paths.

When you want your users to be able to reboot or shutdown FreeBSD, add them

to the group "operator" and they are allowed to use shutdown(8) and poweroff(8).

-- Lars Engels