Linux Terminal Glossary
›
Shell & Bash
local var=value
Category:
Shell & Bash
local var=value
Copy command
Declare a local variable inside a function
Creates a variable that only exists inside the function where it's declared — it won't interfere with variables outside.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.