Mon. Jun 23rd, 2025
Notifications
Clear all

What is the meaning of argc in Unix shell scripting?


Chris DuBois
Posts: 1795
Registered
Topic starter
(@chris)
Illustrious Member
Joined: 10 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: