Perpetual PC's

Web Site Design.       Networks.

Commands and references ( GNU / linux kernel 2.4.18-3 and 2.4.18-14 )   
Linux is a registered trademark of Linus Torvalds


Back to the index page
Back to the command example page



Here is the manual page for alias:
BASH_BUILTINS(1)					      BASH_BUILTINS(1)



NAME
       bash,  :,  ., [, alias, bg, bind, break, builtin, cd, command, compgen,
       complete, continue, declare, dirs, disown, echo,	 enable,  eval,	 exec,
       exit,  export,  fc,  fg, getopts, hash, help, history, jobs, kill, let,
       local, logout, popd, printf, pushd, pwd, read, readonly,	 return,  set,
       shift,  shopt,  source,	suspend,  test,	 times,	 trap,	type, typeset,
       ulimit, umask, unalias, unset,  wait  -	bash  built-in	commands,  see
       bash(1)

BASH BUILTIN COMMANDS
       Unless otherwise noted, each builtin command documented in this section
       as accepting options preceded by - accepts -- to signify the end of the
       options.
       : [arguments]
	      No  effect;  the command does nothing beyond expanding arguments
	      and performing any specified redirections.  A zero exit code  is
	      returned.

	.  filename [arguments]
       source filename [arguments]
	      Read  and	 execute  commands  from filename in the current shell
	      environment and return the exit status of the last command  exe-
	      cuted from filename.  If filename does not contain a slash, file
	      names in PATH are used to find the  directory  containing	 file-
	      name.   The  file	 searched  for in PATH need not be executable.
	      When bash is  not	 in  posix  mode,  the	current	 directory  is
	      searched	if no file is found in PATH.  If the sourcepath option
	      to the shopt builtin command is turned  off,  the	 PATH  is  not
	      searched.	  If any arguments are supplied, they become the posi-
	      tional parameters when  filename	is  executed.	Otherwise  the
	      positional  parameters  are unchanged.  The return status is the
	      status of the last command exited within the  script  (0	if  no
	      commands	are  executed),	 and false if filename is not found or
	      cannot be read.

       alias [-p] [name[=value] ...]
	      Alias with no arguments or with the -p option prints the list of
	      aliases  in  the form alias name=value on standard output.  When
	      arguments are supplied, 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.
	      For  each	 name  in the argument list for which no value is sup-
	      plied, the name and  value  of  the  alias  is  printed.	 Alias
	      returns  true unless a name is given for which no alias has been
	      defined.



Perpetual PC's home page

Perpetual PC's link page