linux custom commands code example
Example 1: linux custom command
alias grabip="grep -oE '\b([0-9]{1,3}\.){3}([0-9]{1,3})\b'"
Example 2: how to define command in bash
alias yourVariable='cd /Home/yourFolder'
alias grabip="grep -oE '\b([0-9]{1,3}\.){3}([0-9]{1,3})\b'"
alias yourVariable='cd /Home/yourFolder'