Special Variables | Shell Scripting Tutorial For Beginners-32

preview_player
Показать описание
Special variables shell scripting tutorial for beginners
$* it stores the complete set of positional parameters as a single string
$# It is set to the number of arguments specified
$1 first argument
$2 second argument
$0 name of executed command
"$@" each quoted string treated as a seperate argument
$? exit status of last command
$$ PID of the current shell
$! PID of the last background job
Рекомендации по теме
Комментарии
Автор

This is a very good video, it has the examples shown at the end as well. The only improvement would to showcase an example where $@ has input that has quoted strings so we can see the difference from $* compared to $@ which is something I would still like to see since I'm confused.

agc
Автор

Could you please expand this shell scripts series to an advanced one? we highly appreciate it.

rotrose
Автор

Nice video but try to explain functionality little better with some easy examples.

elliotaldersn
Автор

Please make this playlist tutorial #1 - #n

fixfix