Post tagged: linux

A Quick Guide to CUPS and lpr

For many Linux users, the printer remains a mysterious box that only communicates through cryptic GUI menus. But if you're a power user or a terminal enthusiast, you know that the command line offers far more precision. By leveraging CUPS (Common Unix Printing System), you can manage your print jobs with simple, scriptable commands. Here is everything you need to know about configuring and using your printer from the terminal. 1. Finding Your Hardware Before you can print, you need to know what your system calls your printer. CUPS doesn't always use the friendly name on the sticker. ...

PDF Command line examples

These is just a bunch of Linux commands to manipulate PDF files: Check PDF image details: pdfimages -list your_file.pdf Check PDF metadata: pdfinfo file.pdf ...

Certificate Authorities

For home users there is not much use for running you own Certificate Authority (CA), and with availability of Letsencrypt and the plethora of ACME libraries setting TLS encryption is quite straight forward. ...

Filesystem discard

Now with the prevalence of SSD's for storage, it is important to make sure that the DISCARD operation is used. This is specially true as this can increase the lifetime of your flash storage by reducing the need to re-map blocks by simply marking them as freed. ...

Alpine Boot

This is a quick note. In Alpine linux you can run start-up scripts by enabling the local service: rc-update add local default When this is enabled, it will run all executable scripts that end with .start on start-up and scripts that end with .stop on shutdown. ...