Difference between revisions of "Alias"

From wikieduonline
Jump to navigation Jump to search
 
Line 5: Line 5:
  
 
==Examples ==
 
==Examples ==
 +
* Execute <code>alias</code> to display your aliases
 +
 
  alias trim="awk ' {\$1=\$1} 1 '"
 
  alias trim="awk ' {\$1=\$1} 1 '"
 
   
 
   

Latest revision as of 05:31, 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[edit]

  • 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[edit]

See also[edit]