Difference between revisions of "Bash: alias"

From wikieduonline
Jump to navigation Jump to search
Line 23: Line 23:
  
 
== See also ==
 
== See also ==
 +
* {{alias}}
 
* {{bash}}
 
* {{bash}}
  
 
[[Category:Bash]]
 
[[Category:Bash]]
 
[[Category:Linux commands]]
 
[[Category:Linux commands]]

Revision as of 09:44, 16 September 2021

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"
alias p8="ping 8.8.8.8"

Related terms

See also

Advertising: