You are viewing a single comment's thread from:

RE: LeoThread 2024-03-26 03:04

in LeoFinance • 2 months ago

Couldn't get an answer from the lecturer, so I turned to ChatGPT for help! 💡🤖 Always there to save the day. "What's maximum # of parameter for bash script?
#ProblemSolving #ChatGP

Sort:  

1 / 2
The maximum # of parameters that can be passed to a script is limited by the maximum command-line length allowed by the operating system. This limit can vary depending on the specific environment

2 / 2 On Raspberry Pi the default maximum command-line length is like other Linux systems, determined by the kernel configuration and system settings. Which is on my Raspberry Pi 2 '2097152'. So plenty of parameters to fool around with.