2 ms·
In that situation, i'm more likely to write: MY_SECRET=$(read) some_command Without the space. That way, i get the utility of command history, without the d
by twic 9y ago
In that situation, i'm more likely to write:
MY_SECRET=$(read) some_command
Without the space. That way, i get the utility of command history, without the danger of the secret being in there.