Linux File Operations, Remote Sync, and Automated Backups with cron and tar

1. Locating Files with find # Search every directory for a file called nginx.conf find / -type f -name nginx.conf # Limit the search to /etc for faster results find /etc -type f -name nginx.conf # Wildcards: list every .conf file under /etc find /etc -type f -name "*.conf" # Combine wildcard and prefix find /etc -type f -name &quot ...

Posted on Sun, 16 Aug 2026 16:24:15 +0000 by BrandonRoy

Essential Linux CLI Commands for System Administration and Development

Text Search and Pattern Matching The grep utility filters input streams based on regular expressions. Appending the -i flag forces case-insensitive comparisons, which is useful when parsing unstandardized logs. grep -i "authentication failed" auth.log File Discovery and Size Queries find traverses directory hierarchies and applies te ...

Posted on Tue, 07 Jul 2026 17:09:01 +0000 by babak

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