Tagged articles
file operations
23 articles · Page 1 of 1
This article presents 18 practical shell scripts for common system administration tasks including file consistency checks, log rotation, network traffic monitoring, FTP downloads, user input validation, Nginx 502 error auto-recovery, port scanning, batch file renaming, IP blocking, and IP address validation.
automationbashfile operations
0 likes · 36 min read

This article provides a deep technical walkthrough of Linux's Virtual File System (VFS), explaining its design goals, core data structures, caching mechanisms, and step‑by‑step file operation flows—including mount, open, read, and write—while illustrating each concept with concrete code examples and real‑world scenarios.
LinuxOS InternalsVFS
0 likes · 27 min read

Discover a curated Windows CMD cheat sheet for IT operations, featuring 100 high‑frequency commands organized into five key scenarios—system management, network diagnostics, file handling, process/user control, and practical automation—complete with examples and QR codes for the printable PDF.
IT OperationsProcess ManagementSystem Management
0 likes · 3 min read

The article explains PHP's rename() function, detailing its syntax, required source and target parameters, return values, practical code examples for renaming files and directories, and important considerations such as permissions and error handling.
BackendPHPfile operations
0 likes · 3 min read

This article demonstrates how to use Python's standard file handling libraries within Locust load‑testing scripts to read, write, and upload files, including example code, best‑practice tips, exception handling, and concurrency considerations for reliable file operations during performance testing.
LocustPythonfile operations
0 likes · 5 min read

This tutorial introduces Python's core data structures—lists, dictionaries, sets, and tuples—and demonstrates essential file operations for text, CSV, and JSON formats, providing practical code examples for each concept and explains their characteristics, common operations, and best practices for efficient programming.
DictionariesJSONPython
0 likes · 7 min read

This article presents a comprehensive collection of Python file handling examples, covering basic reading and writing, appending, line extraction, file copying, moving, deletion, directory management, and advanced text processing techniques such as searching, replacing, and statistical analysis, all illustrated with clear code snippets.
File I/OPythonfile operations
0 likes · 17 min read

This tutorial covers essential Python file operations including opening/closing files, reading/writing text files, and various file manipulation techniques with practical code examples.
Code ExamplesFile I/OPython
0 likes · 4 min read

This comprehensive guide walks you through core Python techniques for handling files and directories, making HTTP requests, processing data, managing system resources, performing text manipulation, executing mathematical calculations, building simple web applications, and interacting with various databases, all illustrated with ready‑to‑run code snippets.
Network RequestsPythonSystem Management
0 likes · 27 min read

This article introduces core Python concepts—including dictionaries and sets as key‑value and unique collections, file and directory manipulation with the os module, regular expression handling, logging setup, unit testing with unittest, performance profiling via cProfile, and using popular third‑party libraries such as requests and BeautifulSoup.
PythonThird‑party librariesdata structures
0 likes · 7 min read

This article introduces Python's built-in os, os.path, and shutil modules, demonstrating how to create and delete directories, manipulate file paths, list directory contents, and perform advanced file operations such as copying, moving, and compressing files with clear code examples.
PythonTutorialfile operations
0 likes · 6 min read

This guide demonstrates how to list directory contents, create and delete folders, manage the current working directory with the os module, retrieve interpreter information, handle command‑line arguments and exit codes using sys, and work with dates and times via the datetime module, providing expected outputs for each operation.
Pythondatetime modulefile operations
0 likes · 5 min read

This article explains the PHP chdir() function, its syntax, parameters, return values, and provides a complete example showing how to switch the script’s working directory, handle success or failure, and highlights important considerations for file‑system operations.
PHPchdirfile operations
0 likes · 4 min read

This article presents a curated set of practical Python scripts covering tasks such as fixing unzip filename encoding on Linux, counting lines of code, calculating directory sizes, moving old files, scanning scripts, downloading LeetCode problems, converting Markdown to HTML, and detecting and converting text file encodings.
file operationsscriptingutilities
0 likes · 29 min read

This article explores three Python coroutine libraries - asyncio, gevent, and trio - providing 10 practical code examples demonstrating their use in asynchronous programming for tasks like IO operations, network requests, file handling, and more.
Asynchronous ProgrammingConcurrent ProgrammingCoroutines
0 likes · 5 min read

This article introduces the Jenkins File Operations plugin, explains how to install it, generate the required DSL, and run a pipeline that creates, lists, and cleans up files, providing a complete code example and build log screenshots for reference.
CI/CDDevOpsJenkins
0 likes · 2 min read

This article presents the ten most frequently used Python file‑handling functions, explaining how to create, open, read, write, copy, move, rename, and delete files with code examples and tips on proper resource management.
file operationsopenos
0 likes · 7 min read

This article introduces Python’s shutil module, explains its purpose as a shell utility supplement to os, and provides detailed examples of its key functions—including copyfileobj, copy, copy2, copytree, rmtree, move, and make_archive—complete with code snippets and usage tips.
COPYMovearchive
0 likes · 7 min read

This guide walks through four practical Git rollback strategies—revert, reset, rebase + revert, and a file‑copy method—detailing when each works, the exact commands, and the pitfalls to avoid when fixing urgent bugs after problematic releases.
file operationsrebasereset
0 likes · 10 min read

This article introduces Python’s sys and os modules, detailing their most useful functions for runtime configuration, file and path manipulation, process control, and environment handling, and provides clear code examples—including a simple progress bar and a demonstration of sys.argv versus __file__ behavior—to help readers master essential system programming techniques.
OS modulePath manipulationProcess Management
0 likes · 22 min read

This article provides a comprehensive guide to Python's os module, detailing common file and directory operations such as creating folders, listing files, deleting files, and retrieving file attributes, with syntax, descriptions, and code examples for each function.
FilesystemOS modulePath manipulation
0 likes · 22 min read

This article demonstrates how to install the Jenkins File Operations plugin, generate its DSL configuration, run a pipeline that creates a file, lists directory contents, and includes a sample pipeline script with logs and screenshots illustrating each step.
CI/CDDevOpsJenkins
0 likes · 1 min read

This guide outlines essential Python os and shutil functions for file and directory manipulation, covering path queries, creation, deletion, permission changes, environment variables, and common file opening modes, providing concise examples for each operation.
FilesystemOS modulePython
0 likes · 3 min read
