Mastering Linux File Inspection, Filtering, Archiving, and Terminal Editors

Viewing and Navigating File Streams The cat utility dumps an entire file's contents directly to standard output. For large datasets requiring paginated reading, more or less provide an interactive terminal viewer. cat /etc/os-release less /etc/nginx/nginx.conf Press q inside the pager to exit cleanly. Extracting Boundary Lines head and tail st ...

Posted on Fri, 05 Jun 2026 17:34:40 +0000 by erfg1

Methods for Extracting Various Archive Formats in Python

Introduction This article discusses using Python to extract five common archive formats: .gz .tar .tgz .zip .rar Format Overview gz (gzip): Typically compresses a single file. Often used with tar to first bundle files, then compress. tar: A bunlding tool in Linux systems that packages files without compression. tgz (tar.gz): Created by first ...

Posted on Tue, 19 May 2026 00:30:24 +0000 by Gayner