Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

bash – md5sum – Remove Trailing Newlines

DZone's Guide to

bash – md5sum – Remove Trailing Newlines

· DevOps Zone ·
Free Resource

Discover how you can reduce your Kubernetes installation from 22 steps to 1.

The following code will remove trailing line breaks that come from the md5sum command:

echo -n "test" | md5sum | tr -d '\n'

Download the Kubernetes cheatsheet to learn more about how easy it is to run Kubernetes on any infrastructure with Mesosphere DC/OS

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}