News for hackers. Stuff that matters.
Re:Sl: a mirror version of ls by outworlder on Friday March 30, 2018 @06:58PM (#16720506)
I agree that it can be an anti-pattern.

However there is stuff like this:

alias ec2ls='aws ec2 describe-instances --query '\''Reservations[].Instances[].[Tags[?Key==`Name`].Value|[0],State.Name,InstanceId,PrivateIpAddress,PublicIpAddress]'\'' --output text | column -t | sort'

I could try to remember it and type every time. But why? Sometimes all I want to do is list instances and grep for something quickly. If I can 'ls' for files, why would 'ls' for AWS (or openstack or what have you) be any different?

There are no comments on this comment yet.