Bob Williams ([log in to unmask]) wrote:
: Is there any way to use aliases with non-mail commands, such as finger? It is
a
: real pain not being able to. I have to list the aliases, copy the one I want,
: then paste it as I type the command. It would be great to just, say, FINGER
: MYALIAS.
 
Well, just thinking off the top of my head, you could make aliases as
symbols, for example:
 
In your login.com file, if you wanted an alias for me, you could put
something in like:
 
$ felix :== "[log in to unmask]"
 
and then at the command line, if you wanted to finger me, you would
type:
 
finger 'felix
 
The ' (single quote) is required to translate the symbol,
otherwise, the "felix" will be taken literally.
 
Whenever you want to use the alias on the command line, just enclose
it in single quotes (or if it's the last thing on the command line,
you just need the leading quote as shown above).
 
_________________________________________________       _  __   __  __
Michael G. Jones, [log in to unmask] |     / \/ _)/_  \/ _)
Systems Analysis, Miami University of Ohio       |    / - \(_  / - )(_
                                                 |   (_) (_)_)/|__/\__)
  "There is a purpose to time, ya know...        |  Internet Mailing List
   It keeps everything from happening at once."  | Finger Me for More Info