diff --git a/technology/applications/cli/Shell.md b/technology/applications/cli/Shell.md index 20a775f..5de024f 100644 --- a/technology/applications/cli/Shell.md +++ b/technology/applications/cli/Shell.md @@ -2,7 +2,7 @@ obj: concept arch-wiki: https://wiki.archlinux.org/title/Command-line_shell wiki: https://en.wikipedia.org/wiki/Unix_shell -rev: 2024-09-05 +rev: 2024-09-16 --- # Shell @@ -341,6 +341,7 @@ done ### Functions You can define your own functions. The arguments you give to the functions can be accessed via `$1`, `$2`, `$n`, etc. The same way the arguments passed to a shell script can be accessed. +To get all passed in arguments as is use `$@`. ```shell greet() {