English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux alias command

Linux Command大全

The Linux alias command is used to set command aliases.

Users can use alias to define command aliases. If only alias is entered, it can list all current alias settings. The effect of alias is only for the current login operation. If you want to set aliases automatically each time you log in, you can set command aliases in .profile or .cshrc.

Syntax

alias[alias]=[command name]

Parameter DescriptionIf no parameters are added, it lists all current alias settings.

Online Examples

Set Aliases for Commands

# alias lx=ls
# lx
anaconda-ks.cfg Desktop install.log install.log.syslog qte

Linux Command大全