Tagged articles
alias
29 articles · Page 1 of 1
On macOS with zsh, you can avoid repetitive login/logout when using several Codex CLI accounts by copying the ~/.codex directory, setting distinct CODEX_HOME paths, and creating alias commands, allowing each account to maintain separate configurations, contexts, and quotas while sharing project rules via AGENTS.md.
CODEX_HOMECodex CLIMulti-Account
0 likes · 7 min read

This guide explains how to configure Linux services to start on boot using systemd or rc.local, create permanent command aliases, and understand the differences between soft and hard links with practical examples and step‑by‑step commands.
Linuxaliasln
0 likes · 13 min read

When legacy or sensitive fields bloat an Elasticsearch index, rebuilding the index with reindex can be costly, so this article examines why fields cannot be removed directly and presents four practical, non‑reindex approaches—_source filtering, index templates, ingest pipelines, and alias‑based gradual migration—detailing their trade‑offs and implementation steps.
ElasticsearchField DeletionIngest Pipeline
0 likes · 12 min read

This guide explains six essential Python import techniques—including using full module imports, aliases, selective imports, avoiding wildcard imports, checking existing names, and leveraging the __all__ attribute—to help you write clearer, conflict‑free code.
Best PracticesPython__all__
0 likes · 4 min read

This article introduces Pydantic (v2), explains its core validation, parsing, and serialization features, compares it with plain dataclasses, demonstrates basic to advanced usage—including optional fields, default factories, nested models, custom validators, and alias handling—while warning about version differences and AI‑generated code pitfalls.
Custom ValidationFastAPIModel
0 likes · 16 min read

This guide shows how to configure Nginx to serve a mini‑program verification file from a custom directory when the root cannot hold the file, and includes extended examples for routing all .txt and .mp4 files to specific directories using location and alias directives.
Configurationaliaslocation
0 likes · 2 min read

This article explains how to use Bash aliases safely, highlights common mistakes such as improper argument handling and command chaining, and shows how to replace risky aliases with shell functions for more reliable file deletion.
aliasbashrm
0 likes · 8 min read

This article explains why a DELETE statement with a table alias fails in MySQL 5.7, shows the correct syntax without alias, compares the DELETE syntax of MySQL 5.7 and 8.0, and concludes that alias support in single‑table DELETE was added starting with version 8.0.16.
DELETEMySQLSQL
0 likes · 5 min read

This article explains why the sudo command bypasses user-defined aliases in Bash, demonstrates the resulting error with common shortcuts like ll, and provides a simple solution using a trailing‑space alias so that sudo respects alias expansion.
aliasbashcommand-line
0 likes · 3 min read

This guide shows how to install several JDK versions on macOS, configure environment variables and aliases for manual switching, and use the jenv tool for precise, per‑directory Java version management, including installation, configuration, and common troubleshooting steps.
EnvironmentJDKJava
0 likes · 10 min read


转转QASep 28, 2022 · Backend Development
This article explains how to set up remote debugging for services in sandbox or test environments, covering remote creation, locating debug ports, constructing JVM arguments, checking service status, stopping services, and useful alias commands to streamline the debugging process.
BackendRemote Debuggingalias
0 likes · 5 min read

This guide explains how to create and manage Bash aliases, view existing shortcuts, and replace simple aliases with parameter‑supporting Bash functions, providing practical examples and code snippets for Linux and macOS command‑line efficiency, especially in Kubernetes workflows.
Linuxaliasbash
0 likes · 4 min read

Learn how to use the Linux bash alias command to create, list, and manage command shortcuts, understand its temporary nature, and make aliases permanent by editing the appropriate initialization files such as /etc/bashrc or ~/.bashrc, with practical examples included.
aliasbashcommand-line
0 likes · 3 min read

This guide explains how to use the built‑in unalias command in Bash to delete individual or all command aliases, shows the syntax and common options, provides practical examples, and highlights important considerations when running scripts that modify alias settings.
aliasbashcommand-line
0 likes · 2 min read

This guide explains how mobile developers can create a consistent, project‑level development environment by using Homebrew for package management, rbenv for Ruby version control, RubyGems and Bundler for dependency handling, and flutter‑wrapper to standardize Flutter SDK usage across the team.
FlutterHomebrewRuby
0 likes · 9 min read

This guide explains when to use Linux alias commands, how to create temporary and permanent aliases, list and verify them, remove unwanted ones, and provides practical examples for simplifying commands, changing behavior, and accessing shortcuts, helping users streamline their shell workflow.
Linuxaliascommand-line
0 likes · 5 min read

This guide explains how to define and use Elasticsearch index templates, manage index aliases, configure the _source field, and understand the roles of master, data, and coordinating nodes in a 7.8 cluster, with practical API examples and visual illustrations.
BackendElasticsearch_source
0 likes · 8 min read

This article demonstrates how to use PHP namespaces with the `use` keyword, create aliases for classes, functions, and constants, incorporate traits, and capture variables in anonymous functions, providing clear code examples for each concept.
aliasclosurenamespace
0 likes · 2 min read

This guide presents a comprehensive collection of frequently used Git commands—including common operations, alias setup, repository creation, committing, history viewing, undoing changes, branch and tag management, merging, rebasing, remote handling, archiving, and configuration—organized for quick reference by developers.
Gitaliasbranching
0 likes · 9 min read

This article introduces ten essential Git commands—including diff, log, reset, revert, clean, and commit‑amend—explains how to escape Vim, change the default editor, and create Bash aliases for faster Git operations, providing practical examples and code snippets for developers.
Vimaliasbash
0 likes · 9 min read

This guide shows how to label lengthy Linux commands with custom tags and use the !? operator or shell aliases to retrieve and execute them instantly, providing two practical techniques for simplifying command-line workflows.
Productivityaliascommand-line
0 likes · 4 min read

This article explains why built‑in commands can be run directly while user programs often require a ./ prefix, describes the shell's lookup process through aliases, built‑ins, and the PATH variable, and shows how to make custom executables behave like native commands.
Command ExecutionPATHalias
0 likes · 10 min read


ITPUBJan 9, 2020 · Fundamentals
This guide walks experienced command‑line users through six essential Unix utilities—wget, scp, ssh-keygen, chmod, tar, and alias—explaining their purpose, key options, and practical examples such as downloading files, secure copying, key generation, permission management, archiving, and command shortcuts.
aliaschmodscp
0 likes · 8 min read

Learn how to create permanent, easy-to-remember Linux aliases for common tasks—such as extracting tar files, resuming downloads, generating passwords, checking checksums, limiting ping, launching a quick web server, testing speed, retrieving IP addresses, and clearing the screen—to dramatically boost command-line productivity.
Productivityalias
0 likes · 5 min read

This guide shows how to create a personal recycle bin on Linux by redefining the rm command with Bash aliases and functions, enabling safe file deletion, restoration, and cleanup while explaining each step, the required code, and usage examples.
CommandLineTrashalias
0 likes · 5 min read

This article explains how Go organizes source files into packages, the difference between import paths and package names, how the compiler chooses between source code and compiled .a files, the role of import aliases, and why a directory can contain only one package.
Goaliascompilation
0 likes · 11 min read


ITPUBJun 16, 2017 · Fundamentals
This article presents a curated collection of practical Bash aliases and functions that streamline repetitive command‑line tasks, improve navigation, automate common operations, and provide quick system‑information shortcuts, helping Linux users save seconds on every command they run.
LinuxProductivityalias
0 likes · 12 min read

This article reveals a mischievous Bash script that redefines common commands and environment variables—such as EDITOR, tab, cat, ls, rm, sudo, clear, and grep—to create unpredictable behavior, data loss, and system shutdowns, and explains how to recognize and neutralize these tricks.
Scriptaliasbash
0 likes · 12 min read

Learn how to efficiently navigate deep Linux directories by using shortcuts such as cd -, the pushd/popd stack commands, and custom alias definitions, with step‑by‑step examples that show how to set up and persist these shortcuts in your bash environment.
Linuxaliasdirectory navigation
0 likes · 4 min read
