Tagged articles
2 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
May 30, 2021 · Fundamentals

Mastering Shell Special Parameters: $*, $@, $#, $$, $! with Real Examples

This article explains the purpose and behavior of key shell special parameters—$*, $@, $#, $$, and $!—through three practical scripts that demonstrate expanding positional arguments, counting arguments, and accessing process IDs, complete with code snippets and expected output.

BashScriptingShell
0 likes · 4 min read
Mastering Shell Special Parameters: $*, $@, $#, $$, $! with Real Examples