Difference between revisions of "FreeBSD How Do I: A FreeBSD Q&A"
From Free Knowledge Base- The DUCK Project: information for everyone
m |
m |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
== User Questions == | == User Questions == | ||
=== Q: Find a file === | === Q: Find a file === | ||
− | A: Issue the command: find / -name filename | + | A: Issue the command: |
+ | find / -name filename | ||
=== Q: Flush dnsmasq dns cache === | === Q: Flush dnsmasq dns cache === | ||
− | A: Issue the command: /usr/local/sbin/dnsmasq restart | + | 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] | ||
[[Category:Computer_Technology]] | [[Category:Computer_Technology]] | ||
− | |||
[[Category:FreeBSD]] | [[Category:FreeBSD]] | ||
[[Category:How_Do_I_Series]] | [[Category:How_Do_I_Series]] |
Latest revision as of 01:00, 4 February 2024
Contents
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]