load new bashrc alias terminal code example
Example 1: load new bashrc alias terminal
source ~/.bashrc
Example 2: bash new alias
# syntax
# alias *<alias-name>="*<what-alias-represents>"
# example
alias ll="ls -lrt"
Example 3: will bash script use alias
# cat script.sh
#!/bin/bash
# Script to check the alias output
shopt -s expand_aliases
alias ls1='ls -lrt'
ls1