Using Amazon ElastiCache Redis? (Wordpress)

Anyone know how to do this? With wordpress, php7, redis of course… I did everything here: https://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/GettingStarted.ConnectToCacheNode.html

When I run: redis mycachecluster.eaogs8.0001.usw2.cache.amazonaws.com 6379>

I get this error: -bash: syntax error near unexpected token `newline’

Any help would be GREATLY appreciated.

Thanks!