All Snippets
Login
james
/
gensid
Shell
Updated 10 months ago
snippet run james/gensid
2 Runs
Generate a unique identifier (e.g. statement ids in AWS policies)
1
sid
=
$(
uuidgen
|
tr
'[:upper:]'
'[:lower:]'
)
&&
echo
$sid
&&
echo
$sid
>>
~/.sidhistory
sid=$(uuidgen | tr '[:upper:]' '[:lower:]') && echo $sid && echo $sid >> ~/.sidhistory
snippet.run
Run your code, from the cloud, on your computer
X
Resources
Docs
Product
Pricing
Changelog
Legal
Terms
Privacy
© 2024 snippet.run
Toggle theme