Tagged articles
38 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Aug 4, 2024 · Fundamentals

Unlock the Power of Shell: Environment Variables, PATH, and File Search

Learn how to create and manage shell variables, differentiate between local and environment scopes, manipulate the PATH variable, and efficiently locate files using whereis, locate, which, and find commands, complete with practical examples and step‑by‑step instructions for Unix‑like systems.

BashEnvironment VariablesFile Search
0 likes · 9 min read
Unlock the Power of Shell: Environment Variables, PATH, and File Search
Sohu Tech Products
Sohu Tech Products
Apr 24, 2024 · Mobile Development

How to Create a Rotating Color‑Changing Rounded Triangle in Android

This article walks through the mathematical analysis, coordinate calculations, and step‑by‑step Android code needed to draw an inverted equilateral triangle, animate a red/black tracing line, and rotate the shape with rounded corners, while addressing common pitfalls such as frame drops and aliasing.

AndroidCanvasCustom View
0 likes · 12 min read
How to Create a Rotating Color‑Changing Rounded Triangle in Android
Liangxu Linux
Liangxu Linux
Feb 25, 2024 · Operations

Master Linux Environment Variables: 6 Proven Configuration Methods & Loading Order

Learn how to configure Linux environment variables using six practical methods—including export, editing ~/.bashrc, ~/.bash_profile, /etc/bashrc, /etc/profile, and /etc/environment—plus understand the loading sequence and testing techniques to ensure your PATH and custom variables work reliably across users and sessions.

BashEnvironment VariablesLinux
0 likes · 11 min read
Master Linux Environment Variables: 6 Proven Configuration Methods & Loading Order
Ops Development & AI Practice
Ops Development & AI Practice
Feb 19, 2024 · Backend Development

How to Verify Command Availability in Go by Scanning the PATH

This guide explains how to programmatically check whether a system command exists in the PATH environment variable using Go, covering environment retrieval, path splitting, file existence checks, cross‑platform nuances, security concerns, and performance tips with a complete code example.

BackendSystemcross‑platform
0 likes · 5 min read
How to Verify Command Availability in Go by Scanning the PATH
MaGe Linux Operations
MaGe Linux Operations
Jan 18, 2024 · Operations

Master Linux Environment Variables: 6 Methods & Loading Order Explained

This guide walks through six ways to configure Linux environment variables—including export commands, editing ~/.bashrc, ~/.bash_profile, /etc/bashrc, /etc/profile, and /etc/environment—while also detailing how the system loads these files and offering practical tips for testing and customizing variable definitions.

BashEnvironment VariablesLinux
0 likes · 13 min read
Master Linux Environment Variables: 6 Methods & Loading Order Explained
Python Programming Learning Circle
Python Programming Learning Circle
Aug 9, 2023 · Fundamentals

Comprehensive Guide to Python File Operations: Opening, Reading, Writing, Paths, Modes, CSV, and Serialization

This tutorial presents a complete overview of Python file handling, covering opening and closing files, absolute and relative paths, various access modes, reading and writing techniques, pointer control, file copying, CSV processing, in‑memory streams, sys redirection, and JSON/pickle serialization, all illustrated with practical code examples.

CSVJSONPickle
0 likes · 19 min read
Comprehensive Guide to Python File Operations: Opening, Reading, Writing, Paths, Modes, CSV, and Serialization
Liangxu Linux
Liangxu Linux
Feb 16, 2023 · Operations

Master Linux Environment Variables: 6 Proven Configuration Methods

This guide explains how to read, set, and persist Linux environment variables—including PATH—using export commands, user‑level files like ~/.bashrc and ~/.bash_profile, and system‑wide files such as /etc/bashrc, /etc/profile, and /etc/environment, while also detailing the loading order and useful tips.

LinuxShellpath
0 likes · 12 min read
Master Linux Environment Variables: 6 Proven Configuration Methods
MaGe Linux Operations
MaGe Linux Operations
Feb 14, 2023 · Operations

Master Linux Environment Variables: 6 Proven Configuration Methods

This guide explains how to read and configure Linux environment variables, covering six methods—including export, editing ~/.bashrc, ~/.bash_profile, /etc/bashrc, /etc/profile, and /etc/environment—while detailing the loading order, user vs system scopes, and practical tips for managing PATH and custom variables.

BashEnvironment VariablesShell scripting
0 likes · 13 min read
Master Linux Environment Variables: 6 Proven Configuration Methods
Open Source Linux
Open Source Linux
Dec 21, 2022 · Fundamentals

Master Linux Environment Variables: Configuration Methods & Loading Order

This guide explains how to read, set, and persist Linux environment variables using various commands and configuration files, compares multiple configuration approaches, and details the exact sequence in which the system loads these files for both user‑level and system‑wide settings.

Environment VariablesLinuxShell
0 likes · 11 min read
Master Linux Environment Variables: Configuration Methods & Loading Order
Liangxu Linux
Liangxu Linux
Aug 28, 2022 · Fundamentals

Master Linux Paths: Absolute vs Relative Explained with Real Examples

This guide explains Linux file system paths, covering the definition of absolute and relative paths, how slashes work, practical command examples, the special '.' and '..' notations, and when to choose each approach for everyday command‑line and scripting tasks.

Absolute PathLinuxRelative Path
0 likes · 6 min read
Master Linux Paths: Absolute vs Relative Explained with Real Examples
MaGe Linux Operations
MaGe Linux Operations
Feb 4, 2022 · Operations

Master Linux Environment Variables: Configuring Paths & Loading Order

This guide explains how to read, set, and permanently configure Linux environment variables—especially the PATH variable—using commands like export and editing files such as ~/.bashrc, ~/.profile, /etc/profile, /etc/bashrc, and /etc/environment, and details the loading order and practical tips for effective management.

Environment VariablesShellpath
0 likes · 12 min read
Master Linux Environment Variables: Configuring Paths & Loading Order
ITPUB
ITPUB
Dec 10, 2020 · Fundamentals

Master Linux Environment Variables: Quick Config & Loading Order Explained

This guide explains how to configure Linux environment variables—especially PATH for MySQL—using various methods such as export commands, editing ~/.bashrc, ~/.bash_profile, /etc/bashrc, /etc/profile, and /etc/environment, and details the exact order Linux reads these files during login and shell startup.

BashEnvironment VariablesLinux
0 likes · 11 min read
Master Linux Environment Variables: Quick Config & Loading Order Explained
Liangxu Linux
Liangxu Linux
Nov 22, 2020 · Operations

Master Linux Environment Variables: Six Ways to Set and Load PATH

This guide explains multiple methods for configuring Linux environment variables—especially PATH—on Ubuntu, covering user‑level files like ~/.bashrc and system‑wide files such as /etc/profile, and details the exact loading order Linux follows when initializing shells.

BashEnvironment VariablesLinux
0 likes · 11 min read
Master Linux Environment Variables: Six Ways to Set and Load PATH
Python Programming Learning Circle
Python Programming Learning Circle
Nov 17, 2020 · Fundamentals

Python3 Environment Setup and Installation Guide

This article provides a comprehensive guide to installing and configuring Python 3 on various platforms—including Windows, Linux, and macOS—covering download sources, installation steps, environment variable setup, and usage of command‑line options and IDEs.

EnvironmentWindowsmacOS
0 likes · 8 min read
Python3 Environment Setup and Installation Guide
Qunar Tech Salon
Qunar Tech Salon
May 2, 2016 · Backend Development

Using JDK7 Standard Library for Flexible and Secure File Handling in Java

This article demonstrates how to leverage JDK7's standard library—Path, Paths, Files, and FileSystem—to perform flexible file operations, safe path concatenation, size‑checked reading, automatic resource management, directory traversal with FileVisitor, and security measures for preventing unsafe file access.

BackendFile I/OJDK7
0 likes · 7 min read
Using JDK7 Standard Library for Flexible and Secure File Handling in Java