How to prioritize tasks Every day we deal with tasks, from simple to very complex tasks. To determine which tasks will be executed and in what order can be…
Linux: How to empty a log file that is in use without stopping the process that is using the file A very common situation that every system administrator faces is a process that writes to files (mostly log files) very fast and the disk…
Linux: How to compress data in a remote server and save them locally in one command! One of the most common tasks of a system administrator is to compress some files in a remote server and then move them to another server…
Linux: how to end to end verify UDP and TCP connectivity with nc Testing end to end connectivity in Linux is always a necessity when we want to debug connectivity issues. Before we blame the application…
How To Use ThreadPoolExecutor in Python There are several ways to run parallel tasks in Python. Threads in python are well suited for applications that the parallel tasks are I/O…
Comparison of gzip, bzip2 and xz compression tools. When storing data for archiving or transferring big files over the network the use of compression is often considered. Then we need to…
Linux: how to add a filesystem to fstab the right way Searching the web for examples on how to mount drives on Linux returns a ton of results, most of those examples mounts the disk using the…