bash build-in variables

tc

2018/03/27

Categories: trivial Tags: bash

There are some fancy build-in variables in bash that I picked up from others’ scripts. They start with a dollar sign. Guess I’ll take some notes. (mostly stole from SO)[https://stackoverflow.com/questions/5163144/what-are-the-special-dollar-sign-shell-variables]

$@ behaves like $* except that when quoted the arguments are broken up properly if there are spaces in them.