will bash script use alias

C++
# syntax
# alias *<alias-name>="*<what-alias-represents>"

# example
alias ll="ls -lrt"# cat script.sh
#!/bin/bash
# Script to check the alias output
shopt -s expand_aliases
alias ls1='ls -lrt'
ls1
Source

Also in C++: