newsyslog – config check

On FreeBSD the best way to rotate logs is using newsyslog. After you set up you want to try what would happen when log rotation occurs, this can be done with -n and -vv -n […]

Delete a Single Line From History

Did you ever wanted to remove a single line from your shell history? This is how you can easily do it: use: history -d line number to remove the line, for example history -d 431, […]

A Magic Trick From ZFS

This is a short description about how to recover a single or multiple files from a ZFS snapshot on FreeBSD. The same trick might work on Linux, I haven’t tried, if you did please let […]

How’s YOUR server doin’?

If you are using FreeBSD then you must be familiar with daily run output or daily security run output messages. They can be found in the root user’s mailbox by simply typing mail as root. If you’re […]

The Power Of CTRL+T

Did you know that you can check what a process is doing by pressing CTRL+T? Has it happened to you before that you were waiting for something to be finished that can take a lot […]

% and crontab

Crontab is a wonderful tool to run tasks at scheduled times. I noticed that my cron jobs fail if I use the percentage sign (%) in it. Why? It works if I just execute the […]

zfs allow

By default many zfs operations needs elevated/root privileges. For example receiving a snapshot on a remote system. One does not want to open ssh to root user. With zfs allow permissions can be delegated to […]

Beastie stockings

The perfect Christmas present for a FreeBSD fan You can have yours from https://www.etsy.com/listing/496638945/freebsd-beastie-christmas-stocking

Bandwidth limiting on OS-X [Yosemite, El Capitan or *BSD]

Since Yosemite OS-X is not using ipfw but pf. So if you’re using those ipfw commands to limit your bandwidth, well… they won’t work. You’ll have to learn and implement some pf rules. The usage of […]