---
name: "checkalias"
section: "1"
platform: "linux"
package: "elm-me+"
version: "2.4pl25ME+66-1"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/checkalias"
---

# checkalias(1)

check to see if an alias is defined.

## NAME

checkalias - check to see if an alias is defined.

## SYNOPSIS

**checkalias** alias, alias, ...

## DESCRIPTION

*Checkalias* checks the user file first, and then the system alias file to try to find the specified alias or aliases.  If found,  the value of the alias is printed out, otherwise an error is generated.

Note: this is in fact a one-line shell script;

```
	elm -c $*
```

## AUTHOR

Elm Development Group

## SEE ALSO

elm(1L), elmalias(1L), newalias(1L), [mail(1)](/mail/1.md), [mailx(1)](/mailx/1.md)

## BUGS

Note that the precedence of aliases is user file then system file.  This means that a user can 'overload' an alias by having one defined in the system file also defined in theirs.  This shouldn't turn out to be a problem, but is something for the system administrator to keep in mind when creating the system alias file.

## BUG REPORTS TO

Syd Weinstein	elm@DSI.COM	(dsinc!elm)

## COPYRIGHTS

Copyright 1988-1992 by The USENET Community Trust\
 Derived from Elm 2.0,  Copyright 1986, 1987 by Dave Taylor
