alias Command Generator
Create or list shell aliases (alias name='value')
Getting Started with alias
## What is alias?
The `alias` command creates a shell shortcut: a name that expands to a longer command. It lets you abbreviate frequently used or hard-to-remember commands, and is one of the most common ways to customize your shell session.
## How to Use
1. **Set the Name**: Enter the alias name (e.g., `ll`, `gs`). 2. **Set the Value**: Enter the command the name should expand to (e.g., `ls -la`). 3. **Copy & Run**: Paste the generated command into your terminal. The alias becomes active immediately in the current shell.
Common Options
### `name='value'` Assignment
Aliases use the `name='value'` form. The value is quoted so spaces, pipes, and special characters are preserved: `alias ll='ls -la'`.
### Listing all aliases
Run bare `alias` (no arguments) to print every defined alias in the current shell.
### Inspecting one alias
Pass only a name to print its definition: `alias ll` shows what `ll` expands to.
### Removing an alias
Use `unalias name` to delete one, or `unalias -a` to clear all aliases in the current session.
▶How do I make an alias permanent across sessions?
▶How do I view all currently defined aliases?
▶Why does my alias break when it contains pipes or special characters?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee