Difference between revisions of "Bash: alias"

From wikieduonline
Jump to navigation Jump to search
Line 16: Line 16:
 
== Related terms ==
 
== Related terms ==
 
* [[shell functions]]
 
* [[shell functions]]
* [[ifconfig]] alias address
+
* <code>[[ifconfig]]</code> alias address
 
* [[.bashrc and .bash profile]]
 
* [[.bashrc and .bash profile]]
  

Revision as of 08:00, 16 June 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

  • Execute alias to display your aliases
alias trim="awk ' {\$1=\$1} 1 '"

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


Related terms

See also

Advertising: