Difference between revisions of "FreeBSD How Do I: A FreeBSD Q&A"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
m
m (User Questions)
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]]

Revision as of 15:23, 4 December 2020

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]