Glossary: Command Line for IT: Bash and PowerShell
$@
Also written: "$@"
Inside a bash script, "$@" stands for all the arguments, each kept as a separate word. After shift, check-disk.sh loops over "$@" to visit each folder.
Glossary: Command Line for IT: Bash and PowerShell
Also written: "$@"
Inside a bash script, "$@" stands for all the arguments, each kept as a separate word. After shift, check-disk.sh loops over "$@" to visit each folder.