User Tools

Site Tools


docu:csheet:sysadm:script:bash:expand_aliases

Expand aliases on a bash script

In order to use aliases inside a bash script,
we need to issue this command inside a shell:

#!/bin/bash
shopt -s expand_aliases
source ~/.bash_aliases
your_alias1
your_alias2
docu/csheet/sysadm/script/bash/expand_aliases.txt · Last modified: 2020/02/14 13:15 by admin