24 views

Remove white space

_line="some text with spaces"
echo "${_line// /}"

Example

_line="This Is The Space Ship"
echo "${_line// /}"
ThisIsTheSpaceShip
Nov 10, 2010 by | 24 views
DevOpsRun.com is LIVE!

Articles for DevOps Geeks
MobaXterm Customization
CHMOD Explained!
Bash history powerful tips
Ubuntu bash from Windows
..