4 ms·
This works in a normal bash/zsh prompt as well if you want to set a variable only for that single command. It's why a lot of times you'll see build instructions
by mscman 13y ago
This works in a normal bash/zsh prompt as well if you want to set a variable only for that single command. It's why a lot of times you'll see build instructions like:
# CC=gcc make
After the command runs, CC will go back to whatever it was set to before (or unset if it wasn't set). Very handy for some operations.