FreeBSD find CPU (processor) temperature command

I‘m a new FreeBSD unix user. How do I get the temperature of an Intel or AMD processor (CPU) in FreeBSD using command line option? Is there a command line option for determine CPU temperature…

How to undefine and unset a bash environment variable on Linux or Unix

I have set the shell variable. I no longer need the variable. How do I undefine or unset a variable in bash on a Linux or Unix-like desktop system?   Creating and setting variables within…

How To Patch and Protect OpenSSH Client Vulnerability CVE-2016-0777 and CVE-2016-0778 [ 14/Jan/2016 ]

T he OpenSSH project released an ssh client bug info that can leak private keys to malicious servers. A man-in-the-middle kind of attack identified and fixed in OpenSSH are dubbed CVE-2016-0777 and CVE-2016-0778. How do…

How to use curl command with proxy username/password on Linux/ Unix

M y sysadmin provided me the following proxy details: IP: 202.54.1.1 Port: 3128 Username: foo Password: bar The settings worked perfectly with Google Chrome and Firefox browser. How do I use it with the curl…

FreeBSD find the chmod numerical value for a file or directory

I need to find out the numerical value of a file on a FreeBSD system. For example, get 644 instead of -rw-r–r– for the /etc/resolv.conf file. Is there is a way to get this value…

How to gzip and keep original file on Unix or Linux command line

I would like to compress a log file using gzip Unix command line utility, and I would also like to keep the original file. However, when I use the gzip my-app.log command, results in modifying…

How to gzip and keep original file on Unix or Linux command line

I would like to compress a log file using gzip Unix command line utility, and I would also like to keep the original file. However, when I use the gzip my-app.log command, results in modifying…

How to install htop on pfSense firewall

I am using pfSense version 2.3.2-RELEASE (FreeBSD 10.3-RELEASE-p5). How do I install htop version 2.x on a pfSense firewall?   htop is an awesome and interactive system-monitor process-viewer. It acts as an alternative to the…

How to configure pfSense as multi wan (DUAL WAN) load balance failover router

H ow do I setup a multi-WAN load balancing and failover on pfSense router with two ADSL or cable or leased-line or FTTH (Fiber to the home) connections?   In this tutorial you will learn…

How to make disk image with dd on Linux or Unix

H ow do I create disk image using dd command? How do I perform disk cloning from a live Linux cd for backup or recovery purpose?   You can easily use the dd command for…