mv command in Linux, with examples

mv command in Linux, with examples

This mv command guide is a follow-up of my previous 90 Linux Commands frequently used by Linux Sysadmins article. Every week, or as time allows, I will publish articles on around 90 commands geared toward Linux…

The Two Generals Problem

The Two Generals Problem

Table of Contents Alice and Bob Imagine there’s a city in a valley. On either side of the valley, there’s an army commanded by a general. On the left hill stands General Alice…

Set PHP realpath_cache_size 'correctly'

Set PHP realpath_cache_size ‘correctly’

<?php var_dump(realpath_cache_size()); ?> Enjoy! realpath_cache_size = 4M realpath_cache_ttl = 120 Note that if your using Apache Prefork-mpm mod_php to run PHP (the fastest when loading only PHP and not with static content) then…

htop: Quick Guide & Customization

htop: Quick Guide & Customization

htop uses a cursor-controlled interface for sending signals to processes. One example where this is helpful is: you don’t have to type in PIDs; select one or more processes using your mouse cursor…