#commandlineexcellence — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #commandlineexcellence, aggregated by home.social.
-
pretty happy w/this shell oneliner to get the deets on the unique kms keys used in the last 100k decryptions
aws cloudtrail lookup-events --lookup-attributes "AttributeKey=EventName,AttributeValue=Decrypt" --region us-east-1 --max-results 100000 | jq -r '.Events[].CloudTrailEvent' | jq -r | grep '"ARN"' | sed 's!.*key/!!;s!"!!' | sort -u | xargs -n1 aws kms describe-key --key-id | grep -i 'keyid\|creation\|manager\|descr' | sed 's!.*"\(.*\)":!\1!;s!",!"!;s!KeyId!\n\nKeyId!'
#unix #shell #aws #awscli #bash #commandline #unixmagic #commandlineexcellence #oneliner #1liner
-
pretty happy w/this shell oneliner to get the deets on the unique kms keys used in the last 100k decryptions
aws cloudtrail lookup-events --lookup-attributes "AttributeKey=EventName,AttributeValue=Decrypt" --region us-east-1 --max-results 100000 | jq -r '.Events[].CloudTrailEvent' | jq -r | grep '"ARN"' | sed 's!.*key/!!;s!"!!' | sort -u | xargs -n1 aws kms describe-key --key-id | grep -i 'keyid\|creation\|manager\|descr' | sed 's!.*"\(.*\)":!\1!;s!",!"!;s!KeyId!\n\nKeyId!'
#unix #shell #aws #awscli #bash #commandline #unixmagic #commandlineexcellence #oneliner #1liner
-
pretty happy w/this shell oneliner to get the deets on the unique kms keys used in the last 100k decryptions
aws cloudtrail lookup-events --lookup-attributes "AttributeKey=EventName,AttributeValue=Decrypt" --region us-east-1 --max-results 100000 | jq -r '.Events[].CloudTrailEvent' | jq -r | grep '"ARN"' | sed 's!.*key/!!;s!"!!' | sort -u | xargs -n1 aws kms describe-key --key-id | grep -i 'keyid\|creation\|manager\|descr' | sed 's!.*"\(.*\)":!\1!;s!",!"!;s!KeyId!\n\nKeyId!'
#unix #shell #aws #awscli #bash #commandline #unixmagic #commandlineexcellence #oneliner #1liner
-
Today is an interesting day in terms of crashes. I just watched somebody crash both ls and rm because their directory had too many files in it. To be clear: the crashes happened on subsets of the files in the directory. 😳
Maybe I've been lucky? I've never seen that before.
And I once had a conversation with a colleague that ended in us crafting an "rm -r *" (in disguise) that deleted all of his stuff.
#devlife #unix #linux #wtf #files #commandlineexcellence #commandline #operatingsystems
-
Today is an interesting day in terms of crashes. I just watched somebody crash both ls and rm because their directory had too many files in it. To be clear: the crashes happened on subsets of the files in the directory. 😳
Maybe I've been lucky? I've never seen that before.
And I once had a conversation with a colleague that ended in us crafting an "rm -r *" (in disguise) that deleted all of his stuff.
#devlife #unix #linux #wtf #files #commandlineexcellence #commandline #operatingsystems
-
Today is an interesting day in terms of crashes. I just watched somebody crash both ls and rm because their directory had too many files in it. To be clear: the crashes happened on subsets of the files in the directory. 😳
Maybe I've been lucky? I've never seen that before.
And I once had a conversation with a colleague that ended in us crafting an "rm -r *" (in disguise) that deleted all of his stuff.
#devlife #unix #linux #wtf #files #commandlineexcellence #commandline #operatingsystems
-
Today is an interesting day in terms of crashes. I just watched somebody crash both ls and rm because their directory had too many files in it. To be clear: the crashes happened on subsets of the files in the directory. 😳
Maybe I've been lucky? I've never seen that before.
And I once had a conversation with a colleague that ended in us crafting an "rm -r *" (in disguise) that deleted all of his stuff.
#devlife #unix #linux #wtf #files #commandlineexcellence #commandline #operatingsystems
-
Today is an interesting day in terms of crashes. I just watched somebody crash both ls and rm because their directory had too many files in it. To be clear: the crashes happened on subsets of the files in the directory. 😳
Maybe I've been lucky? I've never seen that before.
And I once had a conversation with a colleague that ended in us crafting an "rm -r *" (in disguise) that deleted all of his stuff.
#devlife #unix #linux #wtf #files #commandlineexcellence #commandline #operatingsystems
-
@zeh This is excellent! Kudos! #ffmpeg #commandlineExcellence
-
@zeh This is excellent! Kudos! #ffmpeg #commandlineExcellence
-
@zeh This is excellent! Kudos! #ffmpeg #commandlineExcellence
-
@zeh This is excellent! Kudos! #ffmpeg #commandlineExcellence