Why can't we use $$# to get the last argument passed to a shell script?
Channel:
Subscribers:
4,140
Published on ● Video Link: https://www.youtube.com/watch?v=F_C7GzOsCqs
Why can't we use $$# to get the last argument passed to a shell script?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!
(stackoverflow.com/users/6999649/ratbiscuit225)ratbiscuit225
(stackoverflow.com/users/9072753/kamilcuk)KamilCuk
A special thanks goes out to the (https://stackoverflow.com/questions/77774284/why-cant-we-use-to-get-the-last-argument-passed-to-a-shell-script)Stackexchange community
I wish you all a wonderful day! Stay safe :)
bash linux shell
Other Videos By Peter Schneider
Tags:
bash
linux
shell