alias

Basic Linux Command Example: 

 

Get help on Linux alias Command.

 

   Linux alias command is use to define alias or create command alias or display command alias on Linux system.  The Linux alias command is one of bash shell built in command.  The command example below show how to get help on Linux alias command using shell command, this help show information on how to use the Linux alias command, the alias command options and the arguments that can be use with Linux alias command.

 

Get Linux alias command help

 

  Execute help command and the name of Linux command that we want the help file, the example below we execute help command with -m option to get the help for alias command using the manpage format.

alias linux command

[linux@fedora11 ~]$ help -m alias

NAME

    alias - Define or display aliases.

 

SYNOPSIS

    alias [-p] [name[=value] ... ]

 

DESCRIPTION

    Define or display aliases.

 

    Without arguments, `alias' prints the list of aliases in the reusable

    form `alias NAME=VALUE' on standard output.

 

    Otherwise, an alias is defined for each NAME whose VALUE is given.

    A trailing space in VALUE causes the next word to be checked for

    alias substitution when the alias is expanded.

 

    Options:

      -p        Print all defined aliases in a reusable format

 

    Exit Status:

    alias returns true unless a NAME is supplied for which no alias has been

    defined.

 

SEE ALSO

    bash(1)

 

IMPLEMENTATION

    GNU bash, version 4.0.16(1)-release (i386-redhat-linux-gnu)

    Copyright (C) 2009 Free Software Foundation, Inc.

    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

 

[linux@fedora11 ~]$

 

Keywords: alias, alias command, linux alias command, alias linux command, alias help, help alias, command alias help, help alias command