≡ Menu

FreeBSD Tutorials and HowTos

Here you will find tutorial about FreeBSD unix operating system such as – configuration of network, PF firewall/packet filtering, NTA, FreeBSD kernel, building and installing packages, storage, networking services, including HTTP/HTTPS, FTP, NFS, SMB, SMTP, SSH, and NTP ( rss/feed ).

How To Look Up DNS on a Linux and Unix Systems

How do I look up for DNS (Domain Name System) information on a Linux or Unix-like systems using command line options?
[click to continue…]

OpenBSD / FreeBSD / NetBSD: PF Firewall List Rules

I can use iptables -L -n command with Linux operating system to list the current firewall rules. How do I list all the current firewall rules under OpenBSD / FreeBSD / NetBSD operating systems? How can I see all pf firewall rules using command line tool?
[click to continue…]

MySQL/MariaDB Server: Bind To Multiple IP Address

I have MySQL/MariaDB database system running on a FreeBSD/Linux server. The server has multiple ip address. The mysqld used by many websites hosted on two other CentOS Linux based servers. I would like to bind MySQL sever running on a Linux or Unix-like server to more than one IP address such as 202.54.1.2, 202.54.1.10, and 202.54.1.15. How can I bind mysqld to multiple ips?
[click to continue…]

I need to transfer a file called 'some cool movie.avi' that contains whitespace under rsync. How do I escape a filename or directory name with spaces in them while using rsync command under Linux / *BSD / Unix like operating systems? How do I use rsync when files / dirs contain spaces?
[click to continue…]

How do I allow any ordinary users (such as my son or wife) to mount CD-ROMs, DVDs, USB drives, and other removable media on our home server powered by FreeBSD operating systems?
[click to continue…]

How do I find out all empty files and directories on a Linux / Apple OS X / BSD / Unix-like operating systems and delete them in a single pass?
[click to continue…]

TCSH / CSH: set vs setenv Command Differences

I've recently started to use FreeBSD operating system with tcsh (c shell clone) shell. I noticed that both set and setenv command set shell user environment. What's the difference between the SET and SETENV commands?
[click to continue…]