FreeBSD How Do I: A FreeBSD Q&A

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search

User Questions

Q: Find a file

A: Issue the command:

find / -name filename

Q: Flush dnsmasq dns cache

A: Issue the command:

/usr/local/sbin/dnsmasq restart

Q: Determine FreeBSD version

A: Issue the command:

uname -r; freebsd-version

Q: Show what you currently have installed via packages

A: Issue the command:

pkg info

Q: Install a package into your FreeBSD system

A: Issue the command:

pkg install [package] 

and to remove

pkg remove [package]