Sun. Feb 23rd, 2025
Notifications
Clear all

What is the meaning of argc in Unix shell scripting?


Chris DuBois
Posts: 1229
Registered
Topic starter
(@chris)
Famed Member
Joined: 6 months ago

In programming, argc (argument count) is common in C/C++, but how does it relate to shell scripting? How can you determine the number of arguments passed to a script?

Share: