Essential Linux Command Reference Guide
Operating System Overview
An operating system serves as the bridge between hardware and software, managing device resources while providing interfaces for users and applications.
Classification
Ctaegory
Examples
Desktop OS
Windows, Linux, macOS
Server OS
Linux, Windows Server
Embedded OS
Linux
Mobile OS
iOS, Android
Directory St ...
Posted on Mon, 15 Jun 2026 18:03:00 +0000 by katierosy
Python File Operations with System Functions
1. Files
Creating a file using open
import os
file_obj = open('data.txt', 'wt')
file_obj.close()
Checking if a file or directory exists using exists()
Pass absolute or relative path. Returns True if exists, False otherwise.
import os
os.path.exists('config.txt') # returns True
os.path.exists('..') # True
Checking if it is a file using ...
Posted on Sat, 06 Jun 2026 17:21:37 +0000 by hostcord
C File Operations: Handling Text and Binary Files
Working with Files in C
The C language provides robust capabilities for creating, opening, and manipulating both text and binary files. This guide covers the essential file operations you need to know.
1. Opening Files
Before performing any file operations, you need to initialize a FILE object pointer. The fopen() function serves this purpose, ...
Posted on Wed, 03 Jun 2026 18:04:13 +0000 by modulor
Troubleshooting TF Card Write Operations on Zynq Platforms
Troubleshooting TF Card Write Operations on Zynq Platforms
1. Fundamental Concepts
Previous experiments with Zynq TF card read/write operations demonstrated expected behaviors through serial port outputs. However, deeper investigation into common functions within the "ff.h" header file reveals significant differences when implementing TF car ...
Posted on Wed, 27 May 2026 20:28:09 +0000 by hoffmeister
Python File Handling Fundamentals and Advanced Operations
Overview
Data storage can be accomplished through databases or files. While databases maintain data integrity and relationships with enhanced security, file-based storage offers simplicity and ease of use for uncomplicated data structures without requiring database management systems.
Python provides several modules for file manipulation includ ...
Posted on Sun, 17 May 2026 19:03:16 +0000 by jbdphp
File Operations in C: A Complete Guide
1. Why Use Files
When learning about structures, we created a contact management program. While the program runs, we can add and delete contacts, with all data stored in memory. However, once the program terminates, the data disappears. The next time we run the program, we must re-enter all the information, which makes the contact system imprac ...
Posted on Wed, 13 May 2026 01:08:55 +0000 by violinrocker
C Language File Operations: A Comprehensive Guide
Data Persistence Through File Operations
Program data stored in memory is lost when the application terminates. To preserve information between sessions, file storage mechanisms are essential.
File Classification
Program vs Data Files
Software projects involve two primary file categories:
Program Files encompass:
Source code files (.c extensio ...
Posted on Fri, 08 May 2026 23:47:26 +0000 by rsassine