Quantcast
Channel: Bash – Connor Johnson
Viewing all articles
Browse latest Browse all 4

Use Alias in Bash Script

$
0
0
A few weeks ago, I had trouble accessing aliases in bash scripts. It turns out that aliases are not expanded in scripts, only when the shell i interactive. However, we can get around this by using shopt to expand_aliases at the top o our script.

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images