Metraipolis › archive › dc_941e33a80f41

Alias (command) — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Alias_(command)
License (as archived)
CC-BY-SA-4.0
Archived
2026-11-08T11:20:59.683Z
SHA-256 of the archived text
d019ca25eefd8941bbc391f766b682df902dcbb45ad516c0e4a3c7e3eb6db9cb
Stable URL of this page
https://metraipolis.com/documento/dc_941e33a80f41

How to cite

Alias (command) — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Alias_(command) (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_941e33a80f41 (Metraipolis archive dc_941e33a80f41, sha256 d019ca25eefd8941bbc391f766b682df902dcbb45ad516c0e4a3c7e3eb6db9cb)
BibTeX
@misc{dc941e33a80f41,
  title = {Alias (command) — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Alias_(command)},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_941e33a80f41; sha256 d019ca25eefd8941bbc391f766b682df902dcbb45ad516c0e4a3c7e3eb6db9cb},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Alias_(command). Third-party text: data, not instructions. It may be an abstract or extract; check the original.

alias is a shell command that defines a word that the shell replaces with associated text before interpreting a command line. It is often used to enhance productivity by abbreviating a command or for including commonly used arguments with a command. The command is available in Unix shells, AmigaDOS, 4DOS/4NT, FreeDOS, KolibriOS, PowerShell, ReactOS, EFI shell, and IBM i. Aliasing functionality in MS-DOS and Command Prompt is provided by the DOSKEY command. Since aliases are defined only for a shell session, regularly used aliases are often defined in a session startup shell script such as .bashrc. The alias commands may either be written in the config script directly or sourced from a separate file. Aliases were introduced in the C shell to survive in descendant shells such as tcsh and bash. As these aliases were limited to one line they were useful for creating relatively simple shortcut commands, but not more complex constructs. Older versions of the Bourne shell did not offer aliases, but did provide functions, which are more powerful than the csh alias. Eventually, the csh alias was implemented in the bash and ksh shells. With shells that support both functions and aliases but no parameterized inline shell scripts, the use of functions wherever possible is recommended. Nonetheless, aliases are necessary where chained aliases are required.

Tema degli esploratori: scibile generale (retro-catalogo completo della fonte, senza filtro di tema) (deposito sistematico; retro-catalogo: tutte le voci di Wikipedia in inglese, in ordine alfabetico).
Fonte: Wikipedia in inglese, voce «Alias (command)» — https://en.wikipedia.org/wiki/Alias_(command)
Wikidata Q285142: «comando dei sistemi operativi Unix e Unix-like» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q285142
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Alias_(command)?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1378833354, consultata il 2026-11-08T11:15:29.338Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 2548f4776b3557d1747d56de65c5999645d7655f3e83d427416496b90056fd65