Difference between revisions of "Bash: alias"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 15: Line 15:
 
* [[shell functions]]
 
* [[shell functions]]
 
* [[ifconfig]] alias address
 
* [[ifconfig]] alias address
 +
* [[.bashrc and .bash profile]]
  
 
== See also ==
 
== See also ==

Revision as of 05:17, 22 May 2020

This article is a Draft. Help us to complete it.

alias does not accept parameters but a function can be called just like an alias


Examples

alias trim="awk ' {\$1=\$1} 1 '"

alias g="grep"
alias gi="grep -i"
alias gv="grep -v"


Related terms

See also

Advertising: