Command line arguments

 $0 Shell script name or command

$1–$9 Positional parameters 1–9

${10} Positional parameter 10

$# Total number of parameters

$* Evaluates to all the positional parameters

$@ Same as $*, except when double quoted

"$*" Displays all parameters as "$1 $2 $3", and so on

"$@" Displays all parameters as "$1" "$2" "$3", and so on 

Comments

Popular posts from this blog

Fixing the DeepSpeed Import Error While Fine-Tuning the Qwen Model

Amazon Linux 2023 - User data configuration for launch templates to connect to the EKS cluster

How to create ISM policy and rotate logs in opensearch