How To SSH Run Multiple Command On Remote Machine And Exit Safely

I have a backup sync program on local server. I have an ssh password less login set up, and I can run commands on an external server in bash script doing: ssh root@server2  sync; sync;…

How To FreeNAS Install And Configure APC UPS For Power Management

I have an APC SUA1500i smart ups, and want to configure power option from my FreeNAS using this ups. How can I install an appropriate APC UPS USB driver on my FreeNAS server, and use…

How To Find Hard Disk SATA Link Speed On FreeBSD

I know how to find out my SATA link speed such as 3.0 or 6.0 Gbps on Linux operating system. How do I find out my SATA link speed on FreeBSD Unix operating system? How…

How To Install FreeBSD on Raspberry Pi 2 Model B

H ow do I install FreeBSD 10 or FreeBSD 11 (current) on Raspberry Pi 2 Model B? How do I flash the SD Card using Linux, OS X, FreeBSD or Unix-like operating system?   You…

How To Find Out If 32 or 64 bit Unix OS Installed On Server

I ‘m a new Unix system user. How can I determine if 32 or 64 bit OS is installed on my Unix server?   You need to use the following commands to find out information…

FreeBSD Install Rsnapshot Filesystem Snapshot Backup Utility

H ow do I install rsnapshot a filesystem snapshot utility based on rsync on my FreeBSD server to backup my local/remote Linux and Unix-based desktop, server and laptop system?   The rsnapshot is a filesystem…

How to summarize detailed system resource usage for given command on a Linux or Unix

H ow do I determine the system resource usage during of execution of a particular command on a Linux, OS X Unix, BSD and Unix-like operating system?   You need to use /usr/bin/time (hereinafter referred…

How to Force Apache To Show a HTTP-410 Gone Status Code

I removed www.example.com/foo/file.html from my domain. But, it is still being crawled by Google/Yahoo and many other bots. How do I return a HTTP-410 gone error i.e. tell these bots that resource permanently does not…

How to find out zone information for given country on Linux or Unix

How do I find out the current time for each zone name specified on the command line on a Linux, FreeBSD, OS X or Unix-like system? How do I report time zone information for Singapore…

How to delete a single command from history on a Linux, OS X and Unix Bash shell

I‘m working in Ubuntu bash terminal application and remotely on a RHEL server in cloud platform. I typed the wrong and dangerous command. I no longer wish to remember dangerous command in the history file.…