This page describes, how to block web browser and bot user agents from accessing and scraping a website by configuring the Apache .htaccess control file. Written 2022-08-11. Tested with Apache 2.4.54 for FreeBSD.
Continue reading “How to block user agents with Apache .htaccess.”Category: System Administration
This category holds content, that is related to my professional work with system administration of information technology.
This is the procedure for finding large files and sorting files by size on a FreeBSD, UNIX, Linux and Mac OS X based file system by using the default find, du, sort and tail utilities. Written 2022-08-08. Updated 2022-08-11.
Continue reading “Finding large files and sorting by file size on FreeBSD, UNIX, Linux and Mac OS X.”This page describes the different link relations and how to set them, when linking to other pages, and thereby letting search engines understand, that the linking page is not trying to manipulate the ranking algorithms.
Continue reading “What is HTML link relations and which ones should be used?”This is how a number of PDF files can be concatenated, which is also known as merge, join or combine PDF files, with pdftk on the command line.
Continue reading “How to manipulate PDF files on the command line with pdftk.”This is the procedure for restoring (undeleting) accidentally deleted or modified files from a snapshot of a file system on ZFS.
Continue reading “How to restore (undelete) accidentally deleted files from ZFS snapshot.”Examples of how to add text before file names, add text after file names, rename part of file names and rename to incrementing numbers by batch processing on the command line in bash shell.
Continue reading “How to rename batch of images or files in bash shell.”This is the procedure for updating (patching) the FreeBSD system by downloading (fetching) and installing the binary patches from a FreeBSD mirror.
Continue reading “How to update (patch) the FreeBSD system.”