Artikelen

Curl Set User Agent Command on Linux or Unix

A user agent is nothing but software agent that is acting on behalf of a user.  Change user...

Error: when trying to upload file using Nginx web server

First, you need to edit the /etc/nginx/nginx.conf file by typing the vi command: $ sudo vi...

FreeBSD Change Hostname without reboot

Display the current FreeBSD hostname   $ grep hostname /etc/rc.conf OR $ hostname How to...

How To Add Jobs To cron Under Linux or UNIX

Cron allows Linux and Unix users to run commands or scripts at a given date and time. You can...

How to backup FreeNAS configuration file and restore it?

NOTE that this is NOT a back up of your data stored in your storage array(s) this is simply a...

How to change root password on macOS Unix using terminal

You need to use the passwd command. It is used to update the user’s authentication token(s) i.e....

How to change theme in Ubuntu 16.04/17.10?

Two types of themes Shell theme – Stored or installed in ~/.themes/ directory. Shell themes...

How to check list of users in Unix?

Command to check list of users in Unix On a FreeBSD/OpenBSD/NetBSD and many other Unix-like...

How to create FreeNAS Jails with iocage?

iocage is a jail or container manager tool for FreeBSD. It is also available on FreeNAS based NAS...

How to exclude file when using scp command recursively?

One can use scp command to securely copy files between hosts on a network. It uses ssh for data...

How to patch Meltdown and Spectre vulnerabilities on FreeBSD

Step 1 – Find your current FreeBSD version #freebsd-version11.1-RELEASE-p4 Note down the...

How to patch Meltdown vulnerability on OpenBSD Unix?

Patch Meltdown vulnerability on OpenBSD The Meltdown vulnerability backported to the OpenBSD...

How to print filename with awk on Linux / Unix?

To print filename with awk The syntax is: awk '{ print FILENAME }' fileNameHereawk '{ print...

How to set and use sudo password for Ansible Vault?

You can create encrypted passwords with Ansible playbooks and use it. You need to pass...

Secure memcached server to avoid DDoS amplification attacks

Memcached is a free and open source distributed memory object caching system.  How to install...

UnixBench: To gain system performance

The goal of UnixBench is to present a basic sign of the performance of a Unix-like system; hence,...

What does rm -rf command do on a Linux or Unix?

The rm command removes each given FILE on the command line. By default, it does not remove...