Difference between revisions of "Bash: alias"

From wikieduonline
Jump to navigation Jump to search
Line 15: Line 15:
  
 
[[Category:Bash]]
 
[[Category:Bash]]
 +
[[Category:Linux commands]]

Revision as of 17:20, 3 January 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"

See also

Advertising: